/* --- FANTASYSPORTSHUDDLE.COM - STYLE.CSS (SEED 051) --- */

/* --- CSS VARIABLES (THEME) --- */
:root {
    --color-primary-start: #DC143C; /* Crimson */
    --color-primary-end: #FF8C00;   /* Orange */
    --color-accent: #00FFFF;        /* Cyan */
    --color-dark: #111827;
    --color-dark-alt: #1F2937;
    --color-light: #F3F4F6;
    --color-text: #E5E7EB;
    --color-text-muted: #9CA3AF;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-heading-alt: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --animation-duration-base: 0.6s;
}

/* --- BASE & RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* --- ATOMIC/UTILITY CLASSES --- */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.flex-1 { flex: 1; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.text-center { text-align: center; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }
.text-xl { font-size: 1.25rem; }
.text-sm { font-size: 0.875rem; }
.font-heading { font-family: var(--font-heading); }
.font-heading-alt { font-family: var(--font-heading-alt); }
.text-light { color: var(--color-light); }
.text-accent { color: var(--color-accent); }
.bg-dark { background-color: var(--color-dark); }
.bg-dark-alt { background-color: var(--color-dark-alt); }
.max-w-3xl { max-width: 48rem; }
.max-w-xs { max-width: 20rem; }
.d-block { display: block; }

/* --- COMPLIANCE & HEADER --- */
.compliance-notice-top {
    background: var(--color-primary-start);
    color: var(--color-light);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.main-header {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-dark-alt);
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link.active {
    color: var(--color-accent);
}

/* --- HERO SECTION (SEED 051) --- */
.hero-section-051 {
    min-height: 90vh;
    background: linear-gradient(45deg, var(--color-dark), #2a0a1f);
}

.hero-visual {
    perspective: 1000px;
}

.cube-3d {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.cube-3d .face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-accent);
    background: rgba(220, 20, 60, 0.2);
    color: var(--color-light);
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading-alt);
}

.face.front  { transform: translateZ(100px); }
.face.back   { transform: rotateY(180deg) translateZ(100px); }
.face.right  { transform: rotateY(90deg) translateZ(100px); }
.face.left   { transform: rotateY(-90deg) translateZ(100px); }
.face.top    { transform: rotateX(90deg) translateZ(100px); }
.face.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotate-cube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

/* --- BUTTONS --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
    color: var(--color-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* --- CARDS --- */
.card {
    background: var(--color-dark);
    border: 1px solid var(--color-dark-alt);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* --- FOOTER --- */
.main-footer {
    background: var(--color-dark-alt);
    border-top: 1px solid var(--color-dark);
}

.footer-link {
    color: var(--color-text-muted);
}

.footer-link:hover {
    color: var(--color-accent);
}

.compliance-notice-bottom {
    border-top: 1px solid var(--color-dark);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- ANIMATIONS --- */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up var(--animation-duration-base) ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .hero-section-051 {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .text-7xl { font-size: 3rem; }
    .text-5xl { font-size: 2.25rem; }
    
    .main-header {
        flex-direction: column;
        gap: 1rem;
    }
}