* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8c42;
    --accent-color: #ffa726;
    --bg-dark: #0d0d0d;
    --bg-light: #1a1a1a;
    --bg-card: #262626;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #404040;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%)
}

body {
    font-family: Inter, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0, var(--bg-light) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000
}

.nav-container {
    width: 100%;
    padding: 0 30px;
    height: 90px;
    display: flex;
    align-items: center
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 80px
}

.nav-logo {
    display: flex;
    align-items: center
}

.nav-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform .3s ease
}

.nav-logo img:hover {
    transform: scale(1.05)
}

.nav-logo i {
    display: none
}

.nav-links {
    display: flex;
    gap: 35px
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color .3s ease;
    position: relative;
    padding: 15px 0
}

.nav-links a:hover {
    color: var(--primary-color)
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width .3s ease
}

.nav-links a:hover::after {
    width: 100%
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0, var(--bg-light) 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, .1) 0, transparent 50%), radial-gradient(circle at 70% 70%, rgba(255, 140, 66, .1) 0, transparent 50%)
}

.hero-content {
    position: relative;
    z-index: 1
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 53, .3)
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px
}

.stat {
    text-align: center
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 167, 38, .4)
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.main-content {
    padding-top: 80px
}

.rules-section {
    padding: 120px 0 100px 0;
    min-height: 100vh;
    background: url('https://i.ibb.co/6RLBCDJV/wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.rules-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.rules-section .container {
    position: relative;
    z-index: 1;
}

.rules-section h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px
}

.rule-category {
    background: rgba(38, 38, 38, .8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.rule-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform .3s ease
}

.rule-category:hover::before {
    transform: scaleX(1)
}

.rule-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 107, 53, .2)
}

.rule-category h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px
}

.rule-category h2::before {
    content: '📋';
    font-size: 1.5rem
}

.rule-category ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.rule-category li {
    padding: 15px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid rgba(64, 64, 64, .3);
    transition: all .3s ease;
    font-size: 1rem;
    line-height: 1.6
}

.rule-category li:last-child {
    border-bottom: none
}

.rule-category li:hover {
    color: var(--accent-color);
    padding-left: 35px
}

.rule-category li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease
}

.rule-category li:hover::before {
    color: var(--accent-color);
    transform: translateX(5px)
}

.contact-section {
    padding: 100px 0
}

.contact-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px
}

.contact-card {
    text-align: center;
    padding: 40px;
    background: rgba(38, 38, 38, .8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform .3s ease
}

.contact-card:hover::before {
    transform: scaleX(1)
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 107, 53, .2)
}

.contact-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 167, 38, .4)
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary)
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 20px
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s ease
}

.contact-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 167, 38, .4)
}

.footer {
    background: var(--bg-dark);
    padding: 40px 0;
    border-top: 1px solid var(--border-color)
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color)
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain
}

.footer p {
    color: var(--text-secondary)
}

.credit {
    color: var(--text-secondary);
    font-size: .9rem;
    text-align: center
}

.credit-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease
}

.credit-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 167, 38, .4)
}

@media (max-width:768px) {
    .nav-container {
        padding: 0 20px;
        height: 80px
    }

    .nav-left {
        gap: 50px
    }

    .nav-links {
        gap: 25px
    }

    .nav-links a {
        font-size: 1rem
    }

    .nav-logo img {
        width: 60px;
        height: 60px
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .hero p {
        font-size: 1.2rem
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px
    }

    .rules-section {
        padding: 100px 0 80px 0
    }

    .rules-section h1 {
        font-size: 2.5rem
    }

    .rules-content {
        max-width: 100%;
        padding: 20px
    }

    .rule-category {
        padding: 25px;
        margin-bottom: 25px
    }

    .rule-category h2 {
        font-size: 1.5rem
    }

    .rule-category li {
        font-size: .95rem;
        padding: 12px 0;
        padding-left: 25px
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center
    }
}

@media (max-width:480px) {
    .nav-left {
        gap: 30px
    }

    .nav-links {
        display: none
    }

    .hero h1 {
        font-size: 2rem
    }

    .rules-section h1 {
        font-size: 2rem
    }

    .rule-category {
        padding: 20px
    }

    .rule-category h2 {
        font-size: 1.3rem
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .credit {
        order: 2
    }

    .contact-section h2 {
        font-size: 2rem
    }
}