/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background styling */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.desktop-bg {
    background-image: url('atak_splash.png');
    display: block;
}

.mobile-bg {
    background-image: url('atak_splash_portrait.png');
    display: none;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: -1;
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Language switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.lang-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: rgba(0, 120, 215, 0.8);
    border-color: rgba(0, 120, 215, 1);
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
}

.server-owner {
    font-size: 1rem;
    font-weight: 500;
    color: #0078d4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    opacity: 0.9;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero section */
.hero-section {
    text-align: center;
    padding: 20px 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Info section */
.info-section {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    opacity: 0.9;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

/* Server info */
.server-info {
    margin: 40px 0;
}

.server-card {
    background: rgba(0, 120, 215, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 120, 215, 0.4);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.server-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.server-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.access-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.access-info h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-info {
    margin-top: 15px;
}

.contact-email {
    display: inline-block;
    color: #0078d4;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.github-link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px dotted rgba(0, 120, 212, 0.5);
}

.github-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Actions */
.actions {
    text-align: center;
    margin: 40px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.login-btn,
.download-btn {
    display: inline-block;
    padding: 15px 40px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.login-btn {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.6);
    background: linear-gradient(135deg, #106ebe, #005a9e);
}

.download-btn {
    background: linear-gradient(135deg, #16537e, #0f3460);
    box-shadow: 0 4px 15px rgba(22, 83, 126, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 83, 126, 0.6);
    background: linear-gradient(135deg, #1a5f8a, #0f3460);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Removed footer styles */

/* Responsive design */
@media (max-width: 768px) {
    .desktop-bg {
        display: none;
    }
    
    .mobile-bg {
        display: block;
    }
    
    .container {
        padding: 15px;
    }
    
    .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .header {
        padding: 40px 0 30px;
    }
    
    .server-owner {
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .server-card {
        padding: 25px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .login-btn,
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .server-owner {
        font-size: 0.8rem;
        margin-top: 6px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .server-card {
        padding: 20px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card,
.server-card {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.lang-btn:focus,
.login-btn:focus,
.download-btn:focus,
.contact-email:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .background-container,
    .language-switcher {
        display: none;
    }
    
    body {
        color: #000000;
    }
    
    .info-card,
    .server-card {
        background: #f5f5f5;
        color: #000000;
        border: 1px solid #cccccc;
    }
}