@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --verified-color: #00ff88;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- HERO SECTION (For Product Page) --- */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 20px;
    box-sizing: border-box;
}

.header-logo {
    width: 120px;
    margin-top: 20px;
}

/* Default Scroll (Product) */
.scroll-indicator-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.arrow-down {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- PRODUCT SECTION --- */
.product-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.product-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.product-sub-title {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hex-display-large {
    margin: 40px 0;
    width: 300px;
    height: 340px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.product-image-large {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.product-details-grid {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.6rem;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- STORY & GALLERY --- */
.story-container,
.gallery-container {
    width: 100%;
    max-width: 400px;
    margin-top: 40px;
    text-align: left;
}

.story-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin-bottom: 20px;
}

.story-title {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.story-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    font-weight: 300;
    white-space: pre-wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #111;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.02);
    z-index: 2;
}

/* --- AUTHENTICATION SECTION --- */
.auth-section {
    min-height: 80vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.passport-card {
    width: 100%;
    max-width: 400px;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 30px;
    background: #050505;
}

.passport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.passport-label {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

.status-badge {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.verification-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.v-label {
    color: #444;
}

.v-value {
    color: #fff;
    font-family: monospace;
}

.signature-block {
    margin-top: 30px;
    background: #0a0a0a;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #333;
}

.sig-hash {
    font-family: monospace;
    color: #666;
    font-size: 0.7rem;
    word-break: break-all;
    margin-top: 5px;
    line-height: 1.4;
}

.passport-action-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 15px 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 30px;
    letter-spacing: 1px;
}

.passport-footer {
    text-align: center;
    margin-top: 30px;
}

/* --- OVERLAYS --- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-box {
    text-align: center;
    color: #ff3333;
}

/* ==========================================================================
   PREMIUM LANDING PAGE STYLES (REPLACED)
   ========================================================================== */

/* --- SCROLLABLE LANDING PAGE --- */
.landing-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    z-index: 100;
}

.landing-hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #222 0%, #000 100%);
}

.landing-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 35px;

    padding: 140px 20px 0 20px;
    /* FIXED spacing */
    margin: 0 auto;
}

/* === PREMIUM HERO === */
.hero-logo {
    width: 160px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    animation: fadeIn 1s ease forwards;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 10px 0 10px 0;
    background: linear-gradient(180deg, #fff, #9a9a9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    background-clip: text;
    animation: fadeIn 1.2s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 420px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1.4s ease 0.6s forwards;
}

/* INPUT + BUTTON */
.input-shell {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    opacity: 0;
    animation: fadeIn 1.6s ease 0.9s forwards;
}

.tracking-input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #333;
    background: rgba(15, 15, 15, 0.9);
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.tracking-input:focus {
    border-color: #fff;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.tracking-input::placeholder {
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: none;
}

.track-btn {
    padding: 16px 26px;
    border-radius: 14px;
    background: #fff;
    color: #000;
    font-weight: 800;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}



/* === PREMIUM INFO SECTIONS === */
.info-section {
    padding: 140px 20px;
    text-align: center;
}

.dark-bg {
    background-color: #000;
}

.light-bg {
    background-color: #0d0d0d;
    /* Very subtle separation */
    border-top: 1px solid #1a1a1a;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* PREMIUM BUTTON */
.premium-btn {
    margin-top: 60px;
    padding: 16px 50px;
    background: #fff;
    color: #000;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

.premium-btn:hover {
    transform: translateY(-3px);
}

/* FOOTER */
.landing-footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    margin-bottom: 10px;
}

.landing-footer p {
    color: #444;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .input-shell {
        flex-direction: column;
        width: 90%;
    }

    .track-btn {
        width: 100%;
    }
}

/* ==========================================================================
   RESTORED V7 PRODUCT PAGE STYLES (ORIGINAL CARD LAYOUT)
   ========================================================================== */

/* Background Effect (Shared if needed) */
/* Background Effect (Shared if needed) */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1);
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

/* Header / Brand */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    height: 100px;
}

/* Club Logo */
#logo-club {
    max-height: 90px;
    max-width: 180px;
    object-fit: contain;
    /* White Glow/Outline so black logos are visible on dark background */
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: transform 0.3s;
}

/* Header PLYRS Logo (Loading State) */
#logo-header-plyrs {
    max-height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Hidden elements */
.x-mark,
#logo-plyrs {
    display: none;
}

/* Verification Card (Dark Mode) */
.auth-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 30px;
    padding: 3rem 2rem;
    width: 100%;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    margin-top: 100px;
    /* Space from top */
}

/* Glowing Border effect */
.auth-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

/* Status Icons */
.status-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background: #222;
    border: 2px solid #444;
}

.status-icon.verified {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* --- HEXAGON PRODUCT CONTAINER --- */
.hex-container {
    width: 260px;
    height: 300px;
    margin: 20px auto;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(0, 0, 0, 0.1);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    display: block;
}

.product-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Centered Layout Stats */
.product-info-block {
    margin-top: 30px;
    margin-bottom: 30px;
}

.product-subtitle-text {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 400;
}

.centered-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-row {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 300;
}

.stat-label {
    font-weight: 600;
    margin-right: 5px;
    color: #ccc;
}

/* Card Footer Logo */
.plyrs-card-logo {
    height: 32px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    margin-top: 10px;
}

/* Button */
.action-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Verified By Footer */
.verified-by {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.verified-text {
    font-size: 0.6rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.more-info-link {
    display: block;
    margin-top: 15px;
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.more-info-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* LOADING */
.loading-view {
    text-align: center;
}

.loading-spinner {
    border: 3px solid #222;
    border-top: 3px solid #00ff88;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}