@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: white;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.text-cyan {
    color: #22d3ee;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(34, 211, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.header-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.header-title {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1;
}

.header-subtitle {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.15rem;
}

.back-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: white;
    color: black;
    border-radius: 0.75rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.2s;
}

.back-btn:hover {
    background: #e5e5e5;
}

.coverflow-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.coverflow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    transition: none;
}

.coverflow-item {
    position: absolute;
    width: 320px;
    max-width: 45vw;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.coverflow-item .item-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
}

.coverflow-item.active .item-card {
    box-shadow: 0 20px 80px rgba(34, 211, 238, 0.2), 0 10px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(34, 211, 238, 0.3);
}

.coverflow-item .item-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.coverflow-item .item-label {
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.85);
}

.coverflow-item .item-number {
    font-size: 0.65rem;
    font-weight: 900;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.coverflow-item .item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coverflow-item .item-category {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 3px;
}

.item-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.coverflow-item.active .item-actions {
    opacity: 1;
    pointer-events: auto;
}

.play-btn {
    padding: 4px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    flex-shrink: 0;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #e5e5e5;
}

.nav-counter {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    min-width: 80px;
    text-align: center;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-modal.hidden {
    display: none;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    z-index: 1;
}

.modal-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
}

.modal-video-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
}

.modal-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info {
    padding: 1.25rem 1.5rem;
}

.modal-name {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 0.5rem;
}

.modal-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.modal-attr {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(34, 211, 238, 0.6);
}

@media (max-width: 640px) {
    .coverflow-item {
        width: 240px;
        max-width: 60vw;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.ar-btn {
    padding: 4px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(34, 211, 238, 0.4);
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    font-family: 'Poppins', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s;
}

.ar-btn:hover {
    background: rgba(34, 211, 238, 0.25);
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.ar-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ar-modal.hidden {
    display: none;
}

.ar-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.ar-modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    background: #111;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.ar-modal-header {
    padding: 1.25rem 1.5rem 0.75rem;
}

.ar-modal-name {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.ar-widget-container {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
}

.ar-widget-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.ar-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #111;
    z-index: 5;
}

.ar-loading.hidden {
    display: none;
}

.ar-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 211, 238, 0.15);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: arSpin 0.8s linear infinite;
}

@keyframes arSpin {
    to { transform: rotate(360deg); }
}

.ar-loading-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(34, 211, 238, 0.6);
}

@media (min-width: 1024px) {
    .coverflow-item {
        width: 400px;
        max-width: 35vw;
    }
}
