/* Globe Container - Centered with Text Overlay */
#globe-container {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.3),
                0 0 100px rgba(0, 255, 136, 0.2);
}

/* Globe Text Overlay - Where Logic Meets Creativity */
#globe-container::after {
    content: 'Where Logic Meets Creativity';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(0, 255, 136, 0.4);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5),
                 0 0 30px rgba(0, 255, 136, 0.3);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    z-index: 15;
    pointer-events: none;
    animation: textGlow 4s ease-in-out infinite alternate;
    text-align: center;
    line-height: 1.4;
    max-width: 200px;
    word-wrap: break-word;
}

@keyframes textGlow {
    from {
        opacity: 0.4;
        text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    }
    to {
        opacity: 0.7;
        text-shadow: 0 0 25px rgba(0, 255, 136, 0.6),
                     0 0 50px rgba(0, 255, 136, 0.4);
    }
}

@media (max-width: 768px) {
    #globe-container {
        width: 350px;
        height: 350px;
    }
    #globe-container::after {
        font-size: 1rem;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    #globe-container {
        width: 280px;
        height: 280px;
    }
    #globe-container::after {
        font-size: 0.9rem;
        max-width: 120px;
        letter-spacing: 0.5px;
    }
}

/* GFG Text Overlay on Globe */
#globe-container::after {
    content: 'GFG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 255, 136, 0.3);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5),
                 0 0 40px rgba(0, 255, 136, 0.3);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 6px;
    z-index: 15;
    pointer-events: none;
    animation: gfgGlow 3s ease-in-out infinite alternate;
}

@keyframes gfgGlow {
    from {
        opacity: 0.3;
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    }
    to {
        opacity: 0.6;
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.6),
                     0 0 60px rgba(0, 255, 136, 0.4);
    }
}

@media (max-width: 768px) {
    #globe-container {
        width: 300px;
        height: 300px;
        order: 2;
    }
    #globe-container::after {
        font-size: 2rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    #globe-container {
        width: 250px;
        height: 250px;
    }
    #globe-container::after {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

#globe-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Hero Section - Centered Globe Layout with Stars */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 100px 2rem 2rem;
}

/* Starry Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent),
        radial-gradient(1px 1px at 200px 90px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 250px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 300px 20px, #fff, transparent),
        radial-gradient(1px 1px at 350px 100px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 400px 60px, rgba(255,255,255,0.6), transparent);
    background-repeat: repeat;
    background-size: 500px 300px;
    animation: twinkle 4s ease-in-out infinite alternate;
    opacity: 0.6;
    z-index: 1;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* Remove the pseudo element */

.hero-section .magicpattern {
    z-index: 2; /* Subtle pattern over black */
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0.3;
}

.hero-section #particles-js {
    z-index: 3; /* Above pattern, below globe */
}

.hero-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    z-index: 5;
    position: relative;
}

/* Draggable Logo Section */
.logo-section {
    position: absolute; /* Tied to hero section, will scroll away */
    top: calc(50% + 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1100;
    user-select: none;
    pointer-events: auto;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    cursor: grab;
    transition: transform 0.2s ease;
}

.logo-container:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.logo-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00ff88;
    padding: 10px;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8),
                0 0 60px rgba(0, 255, 136, 0.5);
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-container:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 136, 1),
                0 0 80px rgba(0, 255, 136, 0.8);
}

/* Circular Menu for Logo Click */
.logo-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.logo-menu.active {
    pointer-events: auto;
}

/* Shooting Animation Styles */
.logo-menu-item {
    position: absolute;
    width: 120px;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff88;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.logo-menu-item.shooting {
    animation: shootOut 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 1;
    pointer-events: auto;
}

.logo-menu-item.visible {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.3s ease 0.2s;
}

.logo-menu-item:hover {
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

/* Shooting animation keyframes - maintains positioning */
@keyframes shootOut {
    0% {
        opacity: 0;
        filter: blur(2px);
    }
    30% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
        filter: blur(0);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    }
}

/* Shooting trail effect */
.logo-menu-item.shooting::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: shootTrail 0.6s ease-out;
    pointer-events: none;
}

@keyframes shootTrail {
    0% {
        width: 4px;
        height: 4px;
        box-shadow: 0 0 10px rgba(0, 255, 136, 1);
    }
    50% {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
    100% {
        width: 2px;
        height: 2px;
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
    }
}

/* Logo Menu Clock Positions - Perfect 12, 3, 6, 9 Symmetry */
.logo-menu-item:nth-child(1) { /* 12 o'clock - Events */
    top: -203px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-menu-item:nth-child(2) { /* 3 o'clock - Achievements */
    top: 50%;
    right: -280px;
    transform: translateY(-50%);
}

.logo-menu-item:nth-child(3) { /* 6 o'clock - Contact Us */
    bottom: -190px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-menu-item:nth-child(4) { /* 9 o'clock - Our Team */
    top: 50%;
    left: -280px;
    transform: translateY(-50%);
}

/* Hover effect that maintains position */
.logo-menu-item:nth-child(1):hover {
    transform: translateX(-50%) scale(1.05);
}

.logo-menu-item:nth-child(2):hover {
    transform: translateY(-50%) scale(1.05);
}

.logo-menu-item:nth-child(3):hover {
    transform: translateX(-50%) scale(1.05);
}

.logo-menu-item:nth-child(4):hover {
    transform: translateY(-50%) scale(1.05);
}

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

/* Remove tagline section - text now in globe */

.tagline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff88, #00d4aa, #00b894, #00ff88);
    background-size: 200% 200%;
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes taglinePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 768px) {
    .tagline {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }
}
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Respect device notches/status bars */
header {
  padding-top: env(safe-area-inset-top);
}
footer {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Avoid unexpected horizontal overflow from media */
img, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Keep header items on one line and prevent wrap-induced overflow */
header .container > div {
  flex-wrap: nowrap;
}
header .container > div > * {
  min-width: 0;
}

/* Particles background should never force horizontal scroll */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

/* Prevent hover scale causing layout shift on small screens */
@media (max-width: 640px) {
  a:hover, button:hover {
    transform: none !important;
  }
}

/* Better mobile text sizing */
@media (max-width: 640px) {
  /* Reduce hero heading size on very small screens */
  h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  /* Adjust container padding for small screens */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Ensure event cards don't overflow */
  .grid > div {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Better spacing for mobile */
  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Extra small screens (phones < 375px) */
@media (max-width: 374px) {
  h1 {
    font-size: 1.75rem !important;
  }
  
  .text-2xl {
    font-size: 1.25rem !important;
  }
  
  .text-xl {
    font-size: 1rem !important;
  }
  
  /* Reduce padding on very small screens */
  header .container,
  footer .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Landing page background pattern */
.magicpattern {
  width: 100%;
  height: 100%;
  background-size: 400px 280px;
  background-position: center center;
  background-repeat: repeat;
  background-color: #000;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 2000 1400%22 xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask id=%22b%22 x=%220%22 y=%220%22 width=%222000%22 height=%221400%22%3E%3Cpath fill=%22url(%23a)%22 d=%22M0 0h2000v1400H0z%22%2F%3E%3C%2Fmask%3E%3Cpath d=%22M0 0h2000v1400H0z%22%2F%3E%3Cg style=%22transform-origin:center center%22 stroke=%22%234c4e72%22 stroke-width=%224%22 mask=%22url(%23b)%22%3E%3Cpath fill=%22%234c4e72fa%22 d=%22M0 0h50v50H0z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M50 0h50v50H50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7206%22 d=%22M100 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M150 0h50v50h-50zM200 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72f2%22 d=%22M250 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M300 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7278%22 d=%22M350 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7285%22 d=%22M400 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M450 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e723a%22 d=%22M500 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M550 0h50v50h-50zM600 0h50v50h-50zM650 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7232%22 d=%22M700 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7273%22 d=%22M750 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7236%22 d=%22M800 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M850 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e725b%22 d=%22M900 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M950 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72cf%22 d=%22M1000 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e728f%22 d=%22M1050 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1100 0h50v50h-50zM1150 0h50v50h-50zM1200 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e721e%22 d=%22M1250 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1300 0h50v50h-50zM1350 0h50v50h-50zM1400 0h50v50h-50zM1450 0h50v50h-50zM1500 0h50v50h-50zM1550 0h50v50h-50zM1600 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72ee%22 d=%22M1650 0h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1700 0h50v50h-50zM1750 0h50v50h-50zM1800 0h50v50h-50zM1850 0h50v50h-50zM1900 0h50v50h-50zM1950 0h50v50h-50zM0 50h50v50H0zM50 50h50v50H50zM100 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7227%22 d=%22M150 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M200 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72a7%22 d=%22M250 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M300 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72c8%22 d=%22M350 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M400 50h50v50h-50zM450 50h50v50h-50zM500 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72b2%22 d=%22M550 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M600 50h50v50h-50zM650 50h50v50h-50zM700 50h50v50h-50zM750 50h50v50h-50zM800 50h50v50h-50zM850 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e720d%22 d=%22M900 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e721d%22 d=%22M950 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1000 50h50v50h-50zM1050 50h50v50h-50zM1100 50h50v50h-50zM1150 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e726f%22 d=%22M1200 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1250 50h50v50h-50zM1300 50h50v50h-50zM1350 50h50v50h-50zM1400 50h50v50h-50zM1450 50h50v50h-50zM1500 50h50v50h-50zM1550 50h50v50h-50zM1600 50h50v50h-50zM1650 50h50v50h-50zM1700 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72a9%22 d=%22M1750 50h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1800 50h50v50h-50zM1850 50h50v50h-50zM1900 50h50v50h-50zM1950 50h50v50h-50zM0 100h50v50H0zM50 100h50v50H50zM100 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e721f%22 d=%22M150 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72c6%22 d=%22M200 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e728d%22 d=%22M250 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M300 100h50v50h-50zM350 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e725a%22 d=%22M400 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72a2%22 d=%22M450 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M500 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72db%22 d=%22M550 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M600 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72e0%22 d=%22M650 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M700 100h50v50h-50zM750 100h50v50h-50zM800 100h50v50h-50zM850 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e7278%22 d=%22M900 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M950 100h50v50h-50zM1000 100h50v50h-50zM1050 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e729b%22 d=%22M1100 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1150 100h50v50h-50zM1200 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72ca%22 d=%22M1250 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e720c%22 d=%22M1300 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1350 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e72d8%22 d=%22M1400 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22none%22 d=%22M1450 100h50v50h-50zM1500 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3Cpath fill=%22%234c4e729c%22 d=%22M1550 100h50v50h-50z%22 transform=%22matrix(1.15327 .29146 -.83858 .65517 0 0)%22%2F%3E%3C/g%3E%3Cdefs%3E%3CradialGradient id=%22a%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22 stop-opacity=%22.958%22%2F%3E%3Cstop offset=%2296.5%25%22 stop-color=%22%23fff%22 stop-opacity=%220%22%2F%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");
}

/* Mobile optimization for pattern */
@media (max-width: 768px) {
  .magicpattern {
    background-size: 300px 210px;
  }
}

@media (max-width: 480px) {
  .magicpattern {
    background-size: 250px 175px;
  }
}

/* Event Popup Sliding Animation */
#event-popup {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#event-popup.translate-x-full {
    transform: translateX(100%);
}

#event-popup:not(.translate-x-full) {
    transform: translateX(0);
}


