:root {
    --color-brand: #7c2d12;
    --color-cta: #00E5FF;
    --text-muted: #777;
    --border: #ddd;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--color-brand);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    z-index: 100;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.hero {
    background-color: var(--color-brand);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.07);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    left: 30px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.05);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero p {
    color: #ddd;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-cta);
    color: #111;
    font-weight: 700;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    background-color: #00c8e0;
    box-shadow: 0 4px 12px rgba(0,229,255,0.3);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.articles-section,
.tabs-section,
.competitions-section,
.equipment-section,
.info-section {
    padding: 60px 0;
}

.section-container > h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 32px;
    line-height: 1.6;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.article-card {
    background: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.article-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.article-card-featured .article-img img {
    height: 100%;
    min-height: 280px;
}

.article-card-featured .article-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card-featured .article-body h3 {
    font-size: 22px;
}

.article-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 20px;
}

.article-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.article-body h3 a:hover {
    color: var(--color-brand);
}

.article-body p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-body time {
    font-size: 13px;
    color: #999;
}

.no-articles {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
    line-height: 1.6;
}

.articles-cta {
    text-align: center;
    margin-top: 8px;
}

.tabs-wrapper {
    position: relative;
}

.tab-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tab-bar {
    position: relative;
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 2px;
    background: var(--color-brand);
    transition: left 0.3s ease;
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
    min-width: 0;
}

.tab-btn:hover {
    color: #333;
}

#qtab-shoes:checked ~ .tab-bar label[for="qtab-shoes"],
#qtab-protection:checked ~ .tab-bar label[for="qtab-protection"],
#qtab-balls:checked ~ .tab-bar label[for="qtab-balls"],
#qtab-training:checked ~ .tab-bar label[for="qtab-training"] {
    color: var(--color-brand);
    font-weight: 700;
}

#qtab-shoes:checked ~ .tab-bar::after {
    left: 0;
}

#qtab-protection:checked ~ .tab-bar::after {
    left: 25%;
}

#qtab-balls:checked ~ .tab-bar::after {
    left: 50%;
}

#qtab-training:checked ~ .tab-bar::after {
    left: 75%;
}

.tab-pane {
    display: none;
}

#qtab-shoes:checked ~ .tab-panels .tab-pane--shoes {
    display: block;
}

#qtab-protection:checked ~ .tab-panels .tab-pane--protection {
    display: block;
}

#qtab-balls:checked ~ .tab-panels .tab-pane--balls {
    display: block;
}

#qtab-training:checked ~ .tab-panels .tab-pane--training {
    display: block;
}

.tab-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 28px 0;
}

.tab-item {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
    transition: box-shadow 0.2s, background-color 0.2s;
}

.tab-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tab-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.6;
}

.tab-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th {
    background: var(--color-brand);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
}

.comp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.comp-table tbody tr {
    transition: background-color 0.2s;
}

.comp-table tbody tr:hover {
    background-color: #f7f7f7;
}

.equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.equip-card {
    background: #f7f7f7;
    padding: 28px;
    border-radius: 10px;
    transition: box-shadow 0.2s;
}

.equip-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.equip-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-brand);
}

.equip-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.6;
}

.equip-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-section {
    background: #f7f7f7;
}

.info-section p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    max-width: 800px;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .articles-section,
    .tabs-section,
    .competitions-section,
    .equipment-section,
    .info-section {
        padding: 40px 0;
    }

    .section-container > h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card-featured {
        grid-column: span 1;
        display: block;
    }

    .article-card-featured .article-img img {
        height: 200px;
        min-height: auto;
    }

    .article-card-featured .article-body {
        padding: 20px;
    }

    .article-card-featured .article-body h3 {
        font-size: 18px;
    }

    .tab-btn {
        padding: 12px 14px;
        font-size: 14px;
    }

    .tab-items {
        grid-template-columns: 1fr;
    }

    .equip-grid {
        grid-template-columns: 1fr;
    }

    .comp-table th,
    .comp-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .btn-cta {
        padding: 10px 22px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .section-container {
        padding: 0 16px;
    }

    .section-container > h2 {
        font-size: 22px;
    }

    .tab-btn {
        padding: 10px 10px;
        font-size: 13px;
    }

    .articles-section,
    .tabs-section,
    .competitions-section,
    .equipment-section,
    .info-section {
        padding: 32px 0;
    }
}