/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --primary-dark: #ff5722;
    --secondary-color: #4a9eff;
    --accent-color: #ff6b35;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --bg-color: #0a0a0a;
    --bg-dark: #000000;
    --bg-card: #1a1a1a;
    --bg-card-hover: #242424;
    --white: #ffffff;
    --dark: #0a0a0a;
    --gray: #6b6b6b;
    --success: #27ae60;
    --border-color: #2a2a2a;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #ff5722 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .btn-download {
    background: var(--gradient);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    margin-left: 1rem;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-menu .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    filter: brightness(1.1);
}

.nav-menu .btn-download::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    color: var(--white);
    overflow: hidden;
    background-image: 
        linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.btn i {
    font-size: 1.2rem;
}

/* Server Stats */
.server-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 800;
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Features Section */
.features-section {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--bg-color);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Connect Section */
.connect-section {
    background: var(--bg-dark);
    color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.connect-section .section-title {
    color: var(--white);
}

.connect-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.step-item h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.3rem;
}

.step-item p {
    color: var(--text-secondary);
}

.server-ip {
    background: rgba(255, 107, 53, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: monospace;
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Rules Section */
.rules-section {
    background: var(--bg-dark);
    min-height: 80vh;
    padding: 4rem 0;
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

.rule-category {
    margin-bottom: 3rem;
}

.rule-category h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.rule-category h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.rule-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

.rule-number {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.rule-text h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.1rem;
}

.rule-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.important-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.important-notice i {
    color: #ffc107;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.important-notice p {
    color: var(--text-secondary);
}

/* Contacts Section */
.contacts-section {
    background: var(--bg-dark);
    min-height: 80vh;
    padding: 4rem 0;
}

.contacts-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2,
.contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.contact-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.working-hours {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.working-hours h2 {
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.hour-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
}

.hour-item i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.hour-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.3rem;
}

.hour-item p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .server-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .connect-steps {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu .btn-download {
        margin-left: 0;
        margin-top: 1rem;
        width: calc(100% - 2rem);
        text-align: center;
        justify-content: center;
    }
}
