:root {
    --primary: #FF6600;
    --primary-dark: #E65C00;
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Scroll Bar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Hover Effects */
.hover-scale {
    transition: var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Custom Gradients */
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

/* Card Styles */
.card-hover {
    transition: var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-hover-slide {
    position: relative;
    overflow: hidden;
}

.btn-hover-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-base);
}

.btn-hover-slide:hover::after {
    transform: translateX(0);
}

/* Image Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: var(--transition-smooth);
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Navbar Styles */
.navbar-sticky {
    backdrop-filter: blur(10px);
}

/* Mobile Menu Styles */
.mobile-menu {
    transition: var(--transition-smooth);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .reveal-on-scroll {
        transform: translateY(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
/* games.html*/

.filter-btn.active {
    background-color: #FF6600; /* primary color */
    color: white;
}

/* Card animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game card hover effects */
.game-card {
    transition: all 0.3s ease-in-out;
}

.game-card:hover {
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-btn {
        font-size: 0.875rem; /* equivalent to text-sm */
        padding-left: 1rem;  /* equivalent to px-4 */
        padding-right: 1rem; /* equivalent to px-4 */
    }
    
    .game-card {
        margin-bottom: 2rem;
    }
}
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
/* Optional: Add a subtle loading animation */
@keyframes imageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-load {
    animation: imageLoad 0.3s ease-in;
}

/*---Policy---*/
.policy-container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .policy-content {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
  }
  
  .policy-content strong {
    color: #1f2937;
    font-weight: 600;
  }
  
  .policy-content p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #4b5563;
  }
  
  .policy-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
  }
  
  .policy-content li {
    margin-bottom: 1rem;
    position: relative;
    list-style-type: none;
  }
  
  .policy-content a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .policy-content a:hover {
    color: #4338ca;
    text-decoration: underline;
  }
  
  .policy-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
  }

  .policy-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
  }
  .policy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.policy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

  .policy-content div {
  margin: 1rem 0;
  }
  @media (max-width: 768px) {
    .policy-container {
        padding: 1rem;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-content h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.75rem;
    }

    .policy-content h3 {
        font-size: 1.35rem;
    }

    .policy-content h4 {
        font-size: 1.15rem;
    }

    .policy-content p {
        font-size: 1rem;
    }
}