/* ============================================
   Game Day Nutrition — Custom Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #3d051c;
    color: #fce7eb;
}

/* Geometric Background Shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 54, 112, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(224, 54, 112, 0.04);
    top: 35%;
    left: 5%;
    transform: rotate(-15deg);
}

.shape-square {
    width: 100px;
    height: 100px;
    background: rgba(251, 191, 36, 0.05);
    border: 2px solid rgba(251, 191, 36, 0.1);
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 20%;
    right: 15%;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floatDelay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatDelay2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delay {
    animation: floatDelay 5s ease-in-out 0.5s infinite;
}

.animate-float-delay-2 {
    animation: floatDelay2 4.5s ease-in-out 1s infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(61, 5, 28, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224, 54, 112, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #3d051c;
}

::-webkit-scrollbar-thumb {
    background: #a11044;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c71d5a;
}

/* Selection */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fce7eb;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-triangle {
        display: none;
    }
    
    .shape-square {
        width: 50px;
        height: 50px;
    }
}
