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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 2px 20px rgba(218, 165, 32, 0.3);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

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

.logo-image {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #DAA520;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #DAA520, #FFD700);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.register-btn {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #1a2332;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
    display: inline-flex;
    align-items: center;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.6);
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(218,165,32,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(218, 165, 32, 0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-logo.fallback {
    background: #1a365d;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DAA520;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #DAA520;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #DAA520, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #E2E8F0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #1a2332;
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.6);
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid #DAA520;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(218, 165, 32, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.3);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(218, 165, 32, 0.2);
    border-color: #DAA520;
}

.feature-icon {
    font-size: 3rem;
    color: #DAA520;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    transition: all 0.3s ease;
    max-width: 350px;
    width: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.2);
}

/* Footer */
.footer {
    background: rgba(15, 20, 25, 0.9);
    padding: 15px 0;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 0 1 auto;
    text-align: center;
}

.footer-section h3 {
    color: #DAA520;
    margin-bottom: 0.5rem;
}

.footer-section p {
    margin: 0.5rem 0;
    color: #E2E8F0;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.contact-link {
    color: #DAA520;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #FFD700;
}

.contact-link i {
    margin-right: 0.5rem;
}

.footer-images {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.footer-images img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.footer-images img.fallback {
    background: #1a365d;
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DAA520;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #DAA520;
    border-radius: 5px;
}

.footer p {
    margin: 0.5rem 0;
    color: #E2E8F0;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .register-btn {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        flex-direction: column;
        align-items: center;
    }

    .footer-images {
        position: static;
        transform: none;
        margin-top: 0.5rem;
    }

    .nav-logo {
        justify-content: center;
        width: 100%;
    }

    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #DAA520;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Error Message */
.error-message {
    color: #FF6347;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
}