:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(25, 25, 25, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #ff3b30;
    /* Brick Red */
    --accent-glow: rgba(255, 59, 48, 0.4);
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    vertical-align: middle;
}

.nav-links a.social-icon {
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
}

.social-icon img {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.cart-icon {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(45deg, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 4rem;
}

.scroll-indicator {
    font-size: 0.7rem;
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Gallery */
.gallery-container {
    padding: 2rem 4rem 8rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1/1;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.card-status {
    font-size: 0.75rem;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    max-height: 90vh;
    border: 1px solid var(--border);
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

#lightbox-img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.lightbox-details {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    background: #151515;
    border-top: 1px solid var(--border);
}

h2#lightbox-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #fff;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.price {
    color: var(--accent);
}

.buy-btn {
    background: #333;
    color: #666;
    border: none;
    padding: 1rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: not-allowed;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.close-lightbox {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-lightbox:hover {
    background: var(--accent);
}

@media (max-width: 768px) {

    /* Header Reorganization */
    header {
        flex-direction: column;
        padding: 1rem 0;
        background: rgba(10, 10, 10, 0.95);
        gap: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        justify-content: flex-start;
        padding: 0 1rem 0.5rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        margin: 0;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .nav-links a.active {
        background: var(--accent);
        color: #fff;
    }

    .cart-icon {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 0.8rem;
    }

    /* Hero Text Adjustment */
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    /* Gallery Optimization */
    .gallery-container {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .card-title {
        font-size: 0.8rem;
    }

    .card-status {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}

/* About Page Styles */
.about-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, rgba(255, 59, 48, 0.1) 0%, transparent 70%);
}

.about-hero-content h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.about-hero-content .subtitle {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 4rem 8rem;
    color: var(--text-primary);
    font-family: var(--font-main);
}

.about-text-block {
    margin-bottom: 4rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    text-align: center;
}

.about-text-block p {
    margin-bottom: 1.5rem;
}

.impact-statement {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-top: 3rem;
    text-transform: uppercase;
    line-height: 1.3;
}

.about-section {
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.about-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
}

.about-footer-statement {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        padding: 2rem;
    }
}

/* Hero Text Section */
.hero-text-section {
    min-height: 50vh;
    /* Flexible height to avoid overlaps */
    display: flex;
    flex-direction: column;
    /* Ensure vertical stacking */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 180px;
    /* Increased to push text down from header */
    padding-bottom: 4rem;
    /* Ensure space between button and video */
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.5) 0%, transparent 70%);
}

.hero-text-section h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(45deg, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 1rem;
}

.hero-text-section p {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Video Showcase Styles */
.video-showcase {
    padding: 0 4rem 6rem;
    display: flex;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    max-width: 1000px;
    /* Constrain video size */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    position: relative;
    aspect-ratio: 16/9;
    /* Enforce standard video aspect ratio if needed, or let auto */
}

.showcase-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-showcase {
        padding: 0 1rem 4rem;
    }

    .hero-text-section h1 {
        font-size: 3rem;
    }
}

/* How To Buy Section */
.how-to-buy {
    padding: 6rem 4rem;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.5) 0%, transparent 70%);
    border-top: 1px solid var(--border);
}

.htb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.how-to-buy h2 {
    font-family: var(--font-display);
    font-size: 4rem;
    color: #fff;
    margin-bottom: 4rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.htb-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    text-align: left;
    overflow: hidden;
}

.htb-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.2);
}

.htb-number {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    transition: color 0.3s ease;
}

.htb-card:hover .htb-number {
    color: rgba(255, 59, 48, 0.1);
}

.htb-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.htb-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .how-to-buy {
        padding: 3rem 1rem;
    }

    .how-to-buy h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .htb-grid {
        gap: 1.5rem;
    }

    /* Mobile optimization for CA Placeholder */
    .ca-placeholder {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        width: 100%;
        margin-inline: auto;
    }

    .hero-text-section {
        padding-top: 120px;
    }

    /* Socials Page Mobile Adjustments */
    .socials-container {
        padding-top: 140px;
        align-items: flex-start;
    }
}

/* CA Placeholder (Global) */
.ca-placeholder {
    background: var(--accent);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    box-shadow: 0 0 20px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 800px;
    letter-spacing: 2px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 10px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 25px var(--accent-glow);
    }

    100% {
        box-shadow: 0 0 10px var(--accent-glow);
    }
}