﻿
/* DEVICE CONTAINER (WRAPPER 3D) */
.device-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
    width: 36rem; /* w-64 */
    height: 24rem; /* h-[24rem] */
    margin: 0 auto;
}
    .device-container:hover {
        transform: rotateX(0deg) rotateY(0deg) translateZ(30px) !important;
        z-index: 10;
    }

/* CLAY CASING (CARCAÇA EXTERNA) */
.clay-casing {
    background-color: #8da4e8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2.1rem; /* rounded-[2.5rem] */
    padding: 1.5rem; /* p-6 */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    /* 3D & Shadows */
    transform: translateZ(20px);
    box-shadow: -10px 20px 45px rgba(89, 106, 175, 0.85), -10px 10px 5px rgba(155, 155, 155, 0.9), inset 2px 2px 2px rgba(255, 255, 255, 0.9), inset -2px -2px 2px rgba(58, 71, 129, 0.25);
}

/**BURACO ESCURO NO TOPO*/
.earbud-hole {
    width: 3.5rem; /* w-14 */
    height: 4rem; /* h-16 */
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    /* Visual Styles */
    background: linear-gradient(160deg, #5364a8, #2a3563);
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.6), inset -1px -1px 1px rgba(255,255,255,0.2), 0px 1px 1px rgba(255,255,255,0.1);
    transform: translateZ(-10px);
}

/* INNER BODY INSET DENTRO PAINEL */
.clay-insert {
    width: 100%;
    height: 70%;
    border-radius: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* 3D & Shadows */
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.15), inset -2px -2px 4px rgba(255, 255, 255, 0.4), 0px 1px 0px rgba(255,255,255,0.2);
    transform: translateZ(-5px);
}

/* DECORATIONS WHITE SHADOW */
.shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

/* TYPOGRAPHY INSIDE BLUE */
.brand-text {
    font-weight: 700; /* font-extrabold */
    position: relative;
    z-index: 10;
    text-decoration: none;
    padding: 10px;
}
.text-brand-blue {
    color: #5D6BA3;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.4);
}
.text-brand-gray {
    color: #4c4f62;
    text-shadow: 1px 0px 0px rgba(255,255,255,0.4);
}
/* BUTTONS */
.pill-button {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    /*background-color: rgba(255, 255, 255, 0.1);*/
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1), -1px -1px 1px rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
    user-select: none;
}
    .pill-button span {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        pointer-events: none;
    }
    .pill-button.blue span {
        /*color: #5D6BA3;*/
    }
    .pill-button:hover {
        /*background-color: rgba(255, 255, 255, 0.2);*/
    }
    .pill-button:active {
        transform: scale(0.96) translateY(1px);
        box-shadow: inset 3px 3px 6px rgba(0,0,0,0.15), inset -2px -2px 4px rgba(255,255,255,0.4);
        /*background-color: rgba(255,255,255,0.05);*/
        border-color: rgba(255,255,255,0.1);
    }

/* 3D ROTATIONS */
.rotate-left {
    transform: rotateY(15deg) rotateX(5deg);
}
.rotate-center {
    transform: rotateX(10deg);
}
.rotate-right {
    transform: rotateY(-15deg) rotateX(5deg);
}




@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}
