/* Base Styles */
:root {
    --primary: #C6E6FB;
    --accent: #FFADAD;
    --secondary: #FFF7D1;
    --text: #343434;
    --highlight: #B983FF;
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(31, 38, 135, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--highlight));
    --glow-primary: 0 0 10px rgba(198, 230, 251, 0.8);
    --glow-accent: 0 0 15px rgba(255, 173, 173, 0.7);
    --glow-highlight: 0 0 20px rgba(185, 131, 255, 0.8);
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--gradient-primary);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Elements */
.bubble {
    position: fixed;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

.bubble-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.bubble-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 20%;
    animation-delay: -8s;
}

.bubble-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 25%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(20px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(-20px) translateX(10px);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text);
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.8;
}

/* Utility Classes */
.glass-card {
    background: var(--glass);
    border-radius: 16px;
    box-shadow: 0 4px 30px var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(31, 38, 135, 0.2);
}

.glow-text {
    text-shadow: var(--glow-primary);
    transition: var(--transition-smooth);
}

.glow-text:hover {
    text-shadow: var(--glow-highlight);
}

.primary-button, .secondary-button, .event-button {
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.primary-button {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--glow-accent);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-highlight);
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text);
}

.secondary-button:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.event-button {
    background: var(--gradient-accent);
    color: white;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.event-button:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-accent);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(198, 230, 251, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--highlight);
    text-shadow: var(--glow-highlight);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.nav-links a:hover {
    color: var(--highlight);
    text-shadow: var(--glow-highlight);
}

.cta-button {
    background: var(--gradient-accent);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    box-shadow: var(--glow-accent);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-highlight);
    text-shadow: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text);
    border-radius: 5px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8)), url("/images/mainbg______.webp");
background-position: center;
background-size: cover;
    padding-top: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .glass-card {
    width: 350px;
    height: 350px;
   
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--glass);
    position: relative;
}

.pulse-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-accent);
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 173, 173, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 173, 173, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 173, 173, 0);
    }
}

/* About Section */
.about-section {
    background: var(--secondary);
    position: relative;
}

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

.about-cards .glass-card {
    padding: 2rem;
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-cards h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Games Section */
.games-section {
    background: var(--primary);
    position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.game-card {
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-thumbnail {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.game-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.game-card p {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

/* Leaderboard Section */
.leaderboard-section {
    background: var(--gradient-primary);
    position: relative;
}

.leaderboard-container {
    padding: 2rem;
}

.leaderboard-header, .leaderboard-row {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1fr 1.5fr;
    padding: 1rem;
    align-items: center;
}

.leaderboard-header {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.leaderboard-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.leaderboard-row:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.rank {
    font-weight: 600;
    text-align: center;
}

/* Events Section */
.events-section {
    background: var(--secondary);
    position: relative;
}

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

.event-card {
    display: flex;
    padding: 1.5rem;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding-right: 1.5rem;
    border-right: 2px solid var(--accent);
    margin-right: 1.5rem;
}

.day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.event-game {
    color: var(--highlight);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Disclaimer Section */
.disclaimer-section {
    background: var(--primary);
    position: relative;
}

.disclaimer-card {
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-card h2 {
    margin-bottom: 1.5rem;
}

.disclaimer-card p {
    margin-bottom: 1rem;
}

.disclaimer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.disclaimer-links a {
    color: var(--highlight);
    font-weight: 600;
}

.disclaimer-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
  background-color: #FFD6EC; /* Cotton Candy Pink */
  color: #2B2B2B; /* Charcoal Black */
  padding: 40px 20px 20px;
  font-family: 'Nunito', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  flex: 1 1 250px;
}

.footer-logo .logo-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex: 2 1 600px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1 1 150px;
}

.footer-column h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #2B2B2B;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #2B2B2B;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #00D9A5; /* Mint Green */
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  border-top: 1px solid #E4A2C2;
  margin-top: 30px;
}

/* Responsive Footer Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-logo {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        text-align: center;
    }

    .footer-logo p {
        max-width: 100%;
    }
}

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

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column a {
        padding-left: 0;
    }

    .footer-column a:hover {
        padding-left: 0;
        transform: scale(1.05);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-right: 0;
        margin-bottom: 1rem;
        border-right: none;
        border-bottom: 2px solid var(--accent);
    }
    
    .day {
        margin-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--glass);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .leaderboard-header, .leaderboard-row {
        grid-template-columns: 0.5fr 1.5fr 1fr;
    }
    
    .game {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .disclaimer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-header, .leaderboard-row {
        grid-template-columns: 0.5fr 1.5fr 1fr;
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}