
:root {
    --primary: #2563EB;
    --primary-dark: #1d4ed8;
    --secondary: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #cbd5e1;
}

/* Content Section */
.content-section {
    /*display: flex;*/
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.content-section .main-content-section {
    flex: 3;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-section .sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-section .card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--dark);
    margin: 20px 0 15px;
    font-size: 1.4rem;
}

.content-section h4 {
    color: var(--dark);
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.content-section p {
    margin-bottom: 15px;
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 8px;
}

.content-section .tab-container {
    margin-top: 20px;
}

.content-section .tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.content-section .tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray);
}

.content-section .tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.content-section   .tab-content {
    display: none;
}

.content-section   .tab-content.active {
    display: block;
}

.content-section   .strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.content-section   .strategy-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border);
}

.content-section  .strategy-card h4 {
    color: var(--primary);
    margin-top: 0;
}

/* Community Section */
.content-section  .community-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.content-section  .community-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border);
}

.content-section  .community-card h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section  .community-card .icon {
    font-size: 1.5rem;
}

.content-section  .leaderboard {
    margin-top: 20px;
}

.content-section  .leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.content-section  .leaderboard-item .rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: 600;
}

.content-section  .leaderboard-item .name {
    flex: 1;
}

.content-section  .leaderboard-item .score {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
.content-section  .site-footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.content-section  .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.content-section  .footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.content-section  .footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.content-section  .footer-section ul {
    list-style: none;
    padding: 0;
}

.content-section  .footer-section ul li {
    margin-bottom: 10px;
}

.content-section  .footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.content-section  .footer-section a:hover {
    color: white;
}

.content-section  .social-links {
    display: flex;
    gap: 15px;
}

.content-section  .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.content-section  .social-links a:hover {
    background: var(--primary);
}

.content-section  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-section {
        flex-direction: column;
    }

    .content-section    .game-container {
        flex-direction: column;
    }

    .content-section   .number-pad {
        max-width: 100%;
        grid-template-columns: repeat(9, 1fr);
    }

    .content-section   #clearBtn {
        grid-column: span 9;
    }
}

@media (max-width: 600px) {
    .content-section   .stats {
        flex-direction: column;
    }

    .content-section   .controls {
        flex-direction: column;
    }

    .content-section   .difficulty {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .content-section  .difficulty .btn-primary {
        padding: 8px 5px;
        font-size: 0.8rem;
    }

    .content-section   .settings {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}