* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: 16px;
    line-height: 1.6;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
}

.loading-spinner {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00d4ff;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #00d4ff;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #7b2cbf;
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #f72585;
    animation-delay: 0.4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

#menu-box {
    position: fixed;
    width: 100%;
    height: 80px;
    background: rgba(15, 12, 41, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#menu-box.scrolled {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.menu {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h2 {
    color: #fff;
    font-size: 28px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.logo h2:hover {
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.nav-links a:hover::before {
    opacity: 1;
}

#menu-box.scrolled .logo h2 {
    color: #fff;
}

#menu-box.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 12, 41, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 16px 32px;
        width: 80%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .menu {
        justify-content: space-between;
        padding: 0 20px;
    }
    
    .logo h2 {
        font-size: 24px;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 7px);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -7px);
    }
}

#banner {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(247, 37, 133, 0.1) 0%, transparent 50%);
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.join-item {
    margin-bottom: 60px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.join-item h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-item p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    max-width: 800px;
    line-height: 1.8;
    margin: 0 auto 50px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 2px;
}

.join-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.join-buttons a {
    display: inline-block;
    padding: 20px 40px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.join-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 44, 191, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.join-buttons a:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.join-buttons a:hover::before {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#content {
    background: rgba(15, 12, 41, 0.4);
    backdrop-filter: blur(20px);
    padding: 100px 0;
    position: relative;
}

#content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-box {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.content-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    margin-bottom: 40px;
}

.content-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.2);
}

.content-section.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-section:nth-child(1).animate {
    transition-delay: 0.1s;
}

.content-section:nth-child(2).animate {
    transition-delay: 0.2s;
}

.content-section:nth-child(3).animate {
    transition-delay: 0.3s;
}

.content-box h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.content-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
    border-radius: 2px;
}

hr.divider {
    margin: 50px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border: none;
}

.content-text h3 {
    font-size: 1.8rem;
    color: #00d4ff;
    margin: 30px 0 20px;
    line-height: 1.4;
    font-weight: 600;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.content-text a {
    color: #00d4ff;
    transition: all 0.3s ease;
    font-weight: 600;
}

.content-text a:hover {
    color: #7b2cbf;
    text-shadow: 0 0 20px rgba(123, 44, 191, 0.5);
}

.content-image {
    float: right;
    margin: 20px 0 20px 40px;
    width: 60%;
    max-width: 600px;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel:hover {
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carousel-item img,
.carousel-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.03);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 56px;
    height: 56px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 25px;
    display: flex;
    gap: 12px;
    z-index: 6;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-dot:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
    background: #00d4ff;
    transform: scale(1.4);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.5);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2);
}

.add-server-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    color: white;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 30px 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.add-server-btn:hover {
    background: linear-gradient(135deg, #7b2cbf 0%, #f72585 100%);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(123, 44, 191, 0.5);
}

.add-server-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.add-server-btn:hover::before {
    left: 100%;
}

#footer {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(30px);
    color: #e0e0e0;
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 50px;
    padding: 0 25px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 100%);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.footer-links a:hover {
    color: #00d4ff;
    transform: translateX(10px);
}

.footer-links a i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: #00d4ff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: #00d4ff;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    color: #7b2cbf;
}

#musicControl {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 15px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#musicControl:hover {
    transform: scale(1.1);
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

#musicControl:active {
    transform: scale(0.95);
}

#musicIcon {
    width: 32px;
    height: 32px;
    opacity: 0.9;
    display: block;
}

.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}

.popup-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popupFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
}

.popup-overlay .popup-content {
    max-height: 80vh;
    overflow: auto;
}

.popup-overlay .popup-content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.popup-overlay .popup-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

.popup-image {
    margin: 25px 0;
    text-align: center;
}

.popup-image img {
    max-width: 100%;
    max-height: 50vh;
    height: auto;
    display: inline-block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.2);
}

.image-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    padding: 20px;
}

.image-modal-inner {
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-modal-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.image-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    line-height: 48px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.image-modal-close:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
}

@keyframes popupFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-40px) scale(0.9);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
}

@keyframes popupFadeOut {
    from { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
    to { 
        opacity: 0; 
        transform: translateY(-40px) scale(0.9);
    }
}

.popup-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    animation: popupFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.hide .popup-content {
    animation: popupFadeOut 0.3s ease-in;
}

.popup-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}

.popup-message {
    margin-bottom: 35px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.popup-message p {
    margin-bottom: 20px;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.popup-checkbox {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    gap: 10px;
}

.popup-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00d4ff;
}

.popup-btn {
    padding: 14px 35px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.popup-confirm {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.popup-confirm:hover {
    background: linear-gradient(135deg, #7b2cbf 0%, #f72585 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(123, 44, 191, 0.4);
}

.popup-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.popup-confirm:hover::before {
    left: 100%;
}

@media (max-width: 900px) {
    .content-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .content-section {
        padding: 35px;
    }
    
    .join-item h2 {
        font-size: 2.8rem;
    }
    
    .join-item p {
        font-size: 1.3rem;
    }
    
    .content-box {
        padding: 0 20px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .join-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .join-buttons a {
        min-width: auto;
        width: 100%;
        padding: 16px 32px;
    }
    
    .footer-section {
        min-width: 100%;
        padding: 0 15px;
    }
    
    .content-section {
        padding: 30px 25px;
    }
    
    .popup-content {
        padding: 35px 25px;
        margin: 0 16px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .carousel-prev {
        left: 12px;
    }
    
    .carousel-next {
        right: 12px;
    }
    
    #menu-box {
        height: 70px;
    }
    
    .menu {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .join-item h2 {
        font-size: 2.2rem;
    }
    
    .join-item p {
        font-size: 1.1rem;
    }
    
    .content-box h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .popup-content {
        padding: 30px 20px;
        margin: 0 12px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-btn {
        padding: 12px 28px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .logo h2 {
        font-size: 22px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .content-box {
        padding: 0 15px;
    }
}
