:root {
    --primary-bg: #17191b;
    --secondary-bg: #313c48;
    --text-color: #FFFFFF;
    --accent-color: #4a90e2;
    --border-color: #3d4a58;
    --highlight-bg: #3a4755;
    --content-bg: #252f3a;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--secondary-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-placeholder h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    background-color: var(--secondary-bg);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    background-image: linear-gradient(to right, var(--secondary-bg) 0%, var(--primary-bg) 100%);
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

#hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Sections */
section {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #b8c5d3;
}

.content-box {
    background-color: var(--content-bg);
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.market-stats {
    background-color: var(--highlight-bg);
    padding: 20px;
    border-radius: 5px;
    margin: 25px 0;
}

.market-stats ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.market-stats li {
    margin-bottom: 8px;
}

.market-stats strong {
    color: var(--accent-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-item {
    background-color: var(--content-bg);
    padding: 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Guide Steps */
.guide-step {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
}

.guide-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Rules & Safety */
.rule-item, .safety-item {
    margin-bottom: 25px;
}

.rule-item:last-child, .safety-item:last-child {
    margin-bottom: 0;
}

/* Mirrors Section */
.mirrors-list {
    margin: 20px 0;
}

.mirrors-list ul {
    list-style: none;
    column-count: 2;
    column-gap: 30px;
}

.mirrors-list li {
    margin-bottom: 12px;
    break-inside: avoid;
}

.mirrors-list a {
    color: var(--accent-color);
    text-decoration: none;
    word-break: break-all;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 3px 0;
}

.mirrors-list a:hover {
    color: #6ba8f0;
    text-decoration: underline;
}

.mirror-note {
    background-color: var(--highlight-bg);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
    opacity: 0.8;
    background-color: var(--secondary-bg);
}

footer p {
    margin-bottom: 10px;
}

footer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .market-stats ul {
        grid-template-columns: 1fr;
    }
    
    .mirrors-list ul {
        column-count: 1;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.7rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    #hero {
        padding: 60px 0;
    }
    
    section {
        padding: 40px 0;
    }
}