/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff2e6;
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 20px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff2e6;
    padding: 10px 0 5px;
    box-shadow: 0 2px 15px rgba(255, 106, 0, 0.1);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
}

.header-placeholder {
    width: 40px;
    visibility: hidden;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Menu System */
.menu-container {
    position: relative;
}

.menu-toggle {
    display: none;
}

.menu-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
}

.dropdown-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 2px solid #ff9a2f;
}

.menu-toggle:checked ~ .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item i {
    margin-right: 12px;
    color: #ff6a00;
    width: 20px;
    text-align: center;
}

.menu-item:hover {
    background: linear-gradient(to right, rgba(255, 154, 47, 0.1), rgba(255, 106, 0, 0.1));
    color: #ff6a00;
    padding-left: 25px;
}

.register-menu {
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    color: white !important;
    font-weight: bold;
}

.register-menu i {
    color: white !important;
}

/* Buttons */
.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    font-size: 14px;
    padding: 16px 20px;
    letter-spacing: 0.5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.auth-btn {
    flex: 1;
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    color: white;
    padding: 18px 10px;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

.auth-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 106, 0, 0.4);
}

.login-btn {
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
}

.register-btn {
    background: linear-gradient(to right, #ff6a00, #ff9a2f);
}

/* Social Icons */
.social-section {
    margin: 20px 0 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

.social-link:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('hero-logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
    border-radius: 10px;
    margin: 20px 0 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px solid #ff9a2f;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 12px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.download-btn {
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    color: white;
    padding: 18px 35px;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.6);
}

.apk-note {
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

/* Game Preview */
.preview-section {
    margin: 30px 0;
    position: relative;
}

.mobile-frame {
    background: white;
    border-radius: 0;
    padding: 20px 15px 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border: 3px solid #ff6a00;
    position: relative;
    overflow: hidden;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: #ff6a00;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    border: 2px solid #ddd;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 154, 47, 0.2);
}

/* Telegram Section */
.telegram-section {
    margin: 35px 0;
}

.telegram-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.telegram-icon {
    font-size: 32px;
    color: #0088cc;
}

.telegram-title {
    font-size: 22px;
    color: #ff6a00;
    margin: 0;
}

.telegram-text {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}

.telegram-btn {
    background: linear-gradient(to right, #0088cc, #34b7f1);
    color: white;
    padding: 18px 25px;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover {
    background: linear-gradient(to right, #0077b5, #2aa8e0);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.5);
}

.telegram-members {
    text-align: center;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.telegram-members i {
    color: #ff6a00;
}

/* Features */
.section-title {
    text-align: center;
    color: #ff6a00;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
}

.features-section {
    margin: 35px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(to right, #ff9a2f, #ff6a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 15px rgba(255, 106, 0, 0.3);
}

.feature-title {
    font-size: 20px;
    color: #ff6a00;
    margin-bottom: 10px;
}

.feature-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Info Section */
.info-section {
    margin: 35px 0;
}

.info-title {
    font-size: 20px;
    color: #ff6a00;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-title i {
    font-size: 24px;
}

.install-steps {
    padding-left: 20px;
    margin-bottom: 25px;
    color: #555;
}

.install-steps li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.install-steps strong {
    color: #ff6a00;
    background: rgba(255, 106, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.register-now-btn {
    background: linear-gradient(to right, #ff6a00, #ff9a2f);
    color: white;
    padding: 18px 25px;
    font-size: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 15px rgba(255, 106, 0, 0.4);
}

.register-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.5);
}

/* Support Section */
.support-section {
    margin: 35px 0;
}

.support-card {
    text-align: center;
}

.support-title {
    font-size: 20px;
    color: #ff6a00;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-text {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 154, 47, 0.1);
    color: #ff6a00;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: rgba(255, 106, 0, 0.2);
    transform: translateY(-2px);
}

.support-link i {
    font-size: 18px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px 20px;
    background: linear-gradient(to right, rgba(255, 154, 47, 0.1), rgba(255, 106, 0, 0.1));
    border-top: 2px solid rgba(255, 106, 0, 0.3);
}

.footer-text {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-warning {
    color: #ff6a00;
    font-size: 13px;
    font-weight: 600;
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .btn {
        font-size: 15px;
    }
    
    .menu-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .dropdown-menu {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}