:root {
    --primary-color-start: #FF6FE8;
    --primary-color-end: #FF6291;
    --dark-bg: #0c0d16;
    --card-bg: rgba(21, 24, 41, 0.7);
    --text-light: #ffffff;
    --text-dim: #b3b3cc;
    --transition: all 0.3s ease;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px; /* Space for footer and language switcher */
}

/* Stars background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(1px 1px at 25% 35%, white, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50% 50%, white, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 75% 25%, white, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 20% 70%, white, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 65% 85%, white, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header */
header {
    width: 100%;
    z-index: 100;
    padding: 0.5rem 1rem;
    position: relative;
    margin-bottom: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-image {
    height: 50px;
    width: auto;
}

nav {
    position: relative;
    background: rgba(21, 24, 41, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    overflow: hidden;
}

nav .wip-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(124, 58, 137, 0.8), rgba(229, 83, 180, 0.8));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    position: relative;
    z-index: 0;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
    pointer-events: none;
}

/* Main Content */
main {
    min-height: calc(100vh - 260px); /* Adjusted for footer and padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-container {
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: 60px; /* Increased spacing between banner and content */
    max-width: 1200px;
    display: flex;
    justify-content: center;
}

.banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.content-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto; /* Changed from negative margin to create space */
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    color: var(--primary-color-end);
    margin: 0;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge */
.badge {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(255, 98, 145, 0.3);
    white-space: nowrap;
}

.construction-notice {
    background: rgba(21, 24, 41, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.7;
}

/* Server Address */
.server-address {
    background: rgba(21, 24, 41, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address {
    font-family: 'Poppins', monospace;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.copy-btn:hover {
    color: var(--text-light);
}

/* CTA Buttons */
.cta-buttons {
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    gap: 0.5rem;
}

.btn i {
    font-size: 1.3rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 98, 145, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 98, 145, 0.6);
}

/* Footer */
footer {
    background: transparent;
    margin-top: 4rem;
    position: relative;
}

.footer-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color-end);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
}

.footer-section .logo-image {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-links-container {
    position: relative;
    background: rgba(21, 24, 41, 0.3);
    border-radius: 8px;
    overflow: hidden;
    padding: 1.5rem;
}

.wip-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(124, 58, 137, 0.8), rgba(229, 83, 180, 0.8));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    position: relative;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
    pointer-events: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:first-child {
    pointer-events: auto;
}

.social-icons a:not(:first-child) {
    pointer-events: none;
}

.social-icons a:hover {
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
    transform: translateY(-3px);
}

/* Partners Section */
.partners-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.partner-link {
    display: block;
    transition: var(--transition);
}

.partner-link:hover {
    transform: translateY(-3px);
}

.partner-logo {
    height: 20px;
    width: auto;
    filter: brightness(0.9);
    transition: var(--transition);
}

.partner-logo:hover {
    filter: brightness(1);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
}

.selected-lang {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 30px;
    background: rgba(21, 24, 41, 0.8);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-lang:hover {
    background: rgba(255, 255, 255, 0.2);
}

.selected-lang img {
    width: 20px;
    margin-right: 8px;
}

.selected-lang i {
    margin-left: 8px;
    font-size: 0.8rem;
}

.lang-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.5rem;
    background: rgba(21, 24, 41, 0.95);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 150px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    list-style: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-dropdown li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown li.active {
    background: linear-gradient(to right, rgba(255, 111, 232, 0.2), rgba(255, 98, 145, 0.2));
}

.lang-dropdown li img {
    width: 20px;
    margin-right: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    nav {
        width: 100%;
        margin-left: 0;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .banner-image {
        max-height: 300px;
        object-fit: contain;
    }
    
    .logo-container {
        margin-bottom: 40px; /* Adjusted for tablet */
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 120px; /* Space for language switcher */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .construction-notice {
        padding: 1rem;
    }
    
    .server-address {
        flex-direction: column;
        padding: 0.8rem;
    }
    
    .copy-btn {
        margin: 0.5rem 0 0 0;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .wip-overlay {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .language-switcher {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    nav ul {
        gap: 0.7rem;
        flex-wrap: wrap;
    }
    
    .title-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-container {
        margin-bottom: 80px; /* Increased spacing for mobile */
    }
    
    .banner-image {
        max-height: 200px;
        width: 100%;
    }
}