/* Home Page Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-background>* {
    pointer-events: none;
}

/* Interactive canvas - sits behind everything */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.85;
}

/* Mouse-follow gradient orbs (position set by JS) */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    width: 400px;
    height: 400px;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero-orb-1 {
    top: 15%;
    right: 15%;
    background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
}

.hero-orb-2 {
    bottom: 15%;
    left: 10%;
    background: radial-gradient(circle, var(--color-accent-secondary) 0%, transparent 70%);
    width: 320px;
    height: 320px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-primary);
    top: -200px;
    right: -200px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-gold);
    top: 50%;
    left: 20%;
    animation-delay: -5s;
}

.hero-background-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(9, 35, 39, 0.6) 100%);
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

/* Badge above title */
.hero-badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-gold);
    background: rgba(248, 225, 108, 0.12);
    border: 1px solid rgba(248, 225, 108, 0.35);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw + 1rem, var(--font-size-7xl));
    line-height: 0.92;
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleLineIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.title-line[data-delay="0"] {
    animation-delay: 0.15s;
}

.title-line[data-delay="1"] {
    animation-delay: 0.3s;
}

.title-line[data-delay="2"] {
    animation-delay: 0.45s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(214, 34, 70, 0.3);
}

@keyframes titleLineIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-badge {
        font-size: 10px;
        letter-spacing: 0.1em;
        padding: var(--space-1) var(--space-3);
    }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 480px;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

@media (max-width: 1024px) {
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease-out 0.5s both;
}

.hero-cta .btn {
    text-decoration: none;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-cta-primary svg {
    transition: transform var(--transition-base);
}

.hero-cta-primary:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hero image cards */
.hero-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.hero-image-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    animation: fadeInUp 0.8s ease-out calc(0.2s + var(--i, 0) * 0.1s) both;
}

.hero-image-card:nth-child(1) {
    --i: 0;
}

.hero-image-card:nth-child(2) {
    --i: 1;
}

.hero-image-card:nth-child(3) {
    --i: 2;
}

.hero-image-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-image-1 {
    grid-column: span 2;
}

.hero-image-card .image-placeholder {
    width: 100%;
    height: 100%;
}

.hero-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(9, 35, 39, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hero-image-card:hover .hero-card-overlay {
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero-images {
        display: none;
    }
}

/* Featured Section */
.featured-section {
    background: var(--color-bg-primary);
}

/* Collections Section */
.collections-section {
    background: var(--color-bg-secondary);
}

/* Trending Section */
.trending-section {
    background: var(--color-bg-primary);
}

/* Stores Section */
.stores-section {
    background: var(--color-bg-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
}

.cta-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.footer-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-accent-primary);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: var(--color-text-tertiary);
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-text-primary);
}