/* Jugadon Argentina - Paleta Azul + Amarillo + Blanco */
:root {
    --blue-dark: #1E3A5F;
    --blue-main: #2E86AB;
    --blue-light: #5DADE2;
    --blue-accent: #3498DB;
    --blue-sky: #87CEEB;
    --yellow-primary: #FFD700;
    --yellow-bright: #FFC107;
    --yellow-light: #FFEB3B;
    --white: #FFFFFF;
    --white-smoke: #F8F9FA;
    --gray-light: #E9ECEF;
    --black: #1A1A2E;
    --text-dark: #2C3E50;
    --text-muted: #6C757D;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white-smoke);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.3);
    border-bottom: 3px solid var(--yellow-primary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.header-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-login:hover {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-register {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-bright) 100%);
    color: var(--blue-dark);
    border: 2px solid var(--yellow-primary);
    font-weight: 700;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: var(--blue-main);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-buttons .btn {
    text-align: center;
}

/* Main Content */
main {
    padding: 40px 20px;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(30, 58, 95, 0.1);
    border: 1px solid var(--gray-light);
}

h1 {
    font-size: 32px;
    color: var(--blue-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    border-left: 4px solid var(--yellow-primary);
    padding-left: 15px;
}

h2 {
    font-size: 26px;
    color: var(--blue-main);
    margin: 35px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue-light);
}

h3 {
    font-size: 20px;
    color: var(--blue-dark);
    margin: 25px 0 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 16px;
}

ul, ol {
    margin: 15px 0 20px 25px;
}

li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Content Buttons */
.content-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.content-buttons .btn {
    padding: 15px 40px;
    font-size: 16px;
}

/* Images */
.content-section img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--blue-light);
}

/* Table of Contents */
.content-toggle-btn {
    background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-accent) 100%);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s;
}

.content-toggle-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(46, 134, 171, 0.4);
}

.table-of-contents {
    display: none;
    background: var(--white-smoke);
    border-radius: 12px;
    padding: 25px;
    margin: 20px auto;
    border: 2px solid var(--blue-light);
    max-width: 600px;
}

.table-of-contents.active {
    display: block;
}

.toc-title {
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin: 8px 0;
}

.toc-list a {
    color: var(--blue-main);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.toc-list a:hover {
    color: var(--blue-dark);
    padding-left: 10px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

table tr:first-child {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
    color: var(--white);
}

table tr:first-child td {
    font-weight: 700;
    padding: 15px;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 15px;
    color: var(--text-dark);
}

table tr:nth-child(even) {
    background: var(--white-smoke);
}

table tr:hover:not(:first-child) {
    background: rgba(93, 173, 226, 0.1);
}

/* FAQ */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: var(--white-smoke);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(93, 173, 226, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    color: var(--blue-dark);
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    color: var(--blue-main);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-question.active {
    background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-accent) 100%);
}

.faq-question.active h3 {
    color: var(--white);
}

.faq-question.active .faq-icon {
    color: var(--white);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin: 0;
}

/* Footer */
footer {
    background: var(--blue-dark);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 4px solid var(--yellow-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--yellow-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--yellow-light);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .content-section {
        padding: 25px 18px;
    }

    .content-buttons {
        flex-direction: column;
    }

    .content-buttons .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    table {
        font-size: 13px;
    }

    table td {
        padding: 10px 8px;
    }
}
