/* style.css */

:root {
    --ocean-blue: #0b3954;
    --wave-blue: #45969b;
    --sand-light: #f9f6f0;
    --sand-dark: #e3d5b8;
    --text-dark: #333333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--sand-light);
}

.section-title {
    font-size: 2rem;
    color: var(--ocean-blue);
    margin-bottom: 30px;
}

/* HERO SECTION */
.hero {
    background:
        linear-gradient(180deg, rgba(249, 246, 240, 0) 55%, rgba(249, 246, 240, 0.4) 80%, var(--sand-light) 100%),
        linear-gradient(135deg, rgba(11, 57, 84, 0.9) 0%, rgba(11, 57, 84, 0.75) 30%, rgba(20, 88, 122, 0.6) 60%, rgba(69, 150, 155, 0.4) 100%),
        url('supertubos-bg.jpg') center/cover no-repeat;
    background-color: var(--ocean-blue); /* Fallback */
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.lang-switch {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-switch a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
}

.lang-switch a:hover {
    opacity: 1;
}

.lang-switch a.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switch span {
    opacity: 0.5;
}

.hero .logo {
    margin-bottom: 20px;
}

.hero .logo img {
    max-width: 220px;
    height: auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    background:
        linear-gradient(180deg, rgba(249, 246, 240, 0) 55%, rgba(249, 246, 240, 0.4) 80%, var(--sand-light) 100%),
        linear-gradient(135deg, rgba(11, 57, 84, 0.9) 0%, rgba(11, 57, 84, 0.75) 30%, rgba(20, 88, 122, 0.6) 60%, rgba(69, 150, 155, 0.4) 100%),
        url('supertubos-bg.jpg') center/cover no-repeat;
    background-color: var(--ocean-blue); /* Fallback */
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.hero-cta {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--wave-blue), var(--ocean-blue));
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.hero-cta:hover {
    transform: translateY(-3px);
}


.hero-cta:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

/* WHY SECTION */
.why-section {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--white) 100%);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--wave-blue);
    background: rgba(69, 150, 155, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.why-section .section-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

.why-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 35px;
    align-items: center;
    margin-bottom: 35px;
}

.why-lead {
    font-size: 1.1rem;
    color: var(--ocean-blue);
    margin-bottom: 10px;
}

.why-photo {
    position: relative;
}

.why-photo img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(11, 57, 84, 0.25);
}

.why-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--white);
    color: var(--ocean-blue);
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 35px;
}

.why-feature {
    background: var(--white);
    padding: 20px 18px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 57, 84, 0.15);
}

.why-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wave-blue), var(--ocean-blue));
    color: var(--white);
}

.why-icon svg {
    width: 22px;
    height: 22px;
}

.why-feature h3 {
    color: var(--ocean-blue);
    margin-bottom: 8px;
}

.why-quote {
    position: relative;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 45px 40px 28px;
    background: linear-gradient(135deg, var(--ocean-blue), #14587a);
    color: var(--white);
    border-radius: 20px;
    font-size: 1.05rem;
    font-style: italic;
    box-shadow: 0 20px 40px rgba(11, 57, 84, 0.25);
}

.why-quote::before {
    content: "\201C";
    position: absolute;
    top: 0;
    left: 30px;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--wave-blue);
}

.why-quote footer {
    margin-top: 20px;
    font-style: normal;
    font-weight: bold;
}

.why-quote footer span {
    display: block;
    font-weight: normal;
    font-size: 0.9rem;
    opacity: 0.8;
}

.why-closing {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--ocean-blue);
}

@media (max-width: 800px) {
    .why-intro {
        grid-template-columns: 1fr;
    }

    .why-photo img {
        height: 200px;
    }

    .why-quote {
        padding: 55px 25px 30px;
    }
}

/* STATS GRID */
.section-head {
    margin-bottom: 30px;
}

.section-head .section-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.stats-section {
    padding: 50px 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.stat-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
    border-top: 4px solid var(--wave-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 57, 84, 0.15);
}

.stat-card h3 {
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--wave-blue);
}

.stat-label {
    font-weight: bold;
    color: var(--ocean-blue);
    margin: 4px 0 8px;
}

/* GUIDE SECTION */
.guide-section {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sand-light) 100%);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
}

.rule-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.rule-number {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--wave-blue), var(--ocean-blue));
}

.rule-card h3 {
    color: var(--ocean-blue);
    margin-bottom: 4px;
}

/* VIDEOS */
.video-section {
    padding: 50px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.video-container {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.video-container h2 {
    font-size: 1.1rem;
    color: var(--ocean-blue);
    margin-bottom: 14px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* SURF & WILDLIFE INFO */
.info-section {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sand-light) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.info-block {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.info-block h3 {
    color: var(--ocean-blue);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.info-block p {
    margin-bottom: 10px;
}

.info-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--wave-blue);
    font-weight: 600;
    text-decoration: none;
}

.info-link:hover,
.info-link:focus-visible {
    text-decoration: underline;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tags span {
    background: rgba(69, 150, 155, 0.12);
    color: var(--ocean-blue);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* SURVEY */
.survey-section {
    padding: 50px 0;
}

.survey-container {
    max-width: 700px;
}

.survey-form {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.form-group {
    margin-bottom: 18px;
}

.form-group > label,
.form-group .check {
    display: block;
    font-weight: 600;
    color: var(--ocean-blue);
    margin-bottom: 6px;
}

.optional {
    font-weight: normal;
    color: #888;
}

.survey-form input[type="text"],
.survey-form select,
.survey-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--sand-light);
}

.survey-form input:focus,
.survey-form select:focus,
.survey-form textarea:focus {
    outline: 2px solid var(--wave-blue);
    border-color: transparent;
}

.scale {
    display: flex;
    gap: 10px;
}

.scale-item {
    flex: 1;
    cursor: pointer;
}

.scale-item input {
    position: absolute;
    opacity: 0;
}

.scale-item span {
    display: block;
    text-align: center;
    padding: 10px 0;
    border-radius: 10px;
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    font-weight: bold;
    color: var(--ocean-blue);
}

.scale-item input:checked + span {
    background: linear-gradient(135deg, var(--wave-blue), var(--ocean-blue));
    color: var(--white);
}

.scale-item input:focus-visible + span {
    outline: 2px solid var(--wave-blue);
}

.scale-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #888;
}

.hp {
    position: absolute;
    left: -9999px;
}

.submit-btn {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    background: linear-gradient(135deg, var(--wave-blue), var(--ocean-blue));
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

.survey-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
}

.survey-ok {
    background: #e3f4ea;
    color: #1d6b3b;
}

.survey-error {
    background: #fbe7e7;
    color: #9b2c2c;
}

/* FOOTER & CTA */
.cta-footer {
    background: linear-gradient(135deg, var(--ocean-blue), #14587a);
    color: var(--white);
    padding: 22px 0;
    font-weight: 600;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-contact {
    flex: 1;
}

.footer-motto {
    flex: 2;
    text-align: center;
    margin: 0;
}

.footer-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-logo img {
    max-width: 140px;
    height: auto;
}

.footer-contact-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    opacity: 0.85;
}

.footer-contact a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--sand-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-grid, .info-grid, .rules-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
}

/* ADMIN */
.admin-body {
    background: var(--sand-light);
    min-height: 100vh;
}

.admin-login {
    max-width: 380px;
    margin: 12vh auto 0;
    padding: 0 20px;
}

.admin-login h1 {
    color: var(--ocean-blue);
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.admin-login input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--sand-light);
}

.admin-bar {
    background: linear-gradient(135deg, var(--ocean-blue), #14587a);
    color: var(--white);
    padding: 14px 0;
}

.admin-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logout {
    background: var(--white);
    color: var(--ocean-blue);
    border: 0;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
}

.admin-main {
    padding-top: 30px;
    padding-bottom: 40px;
}

.admin-table-wrap {
    margin-top: 25px;
    overflow-x: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--sand-light);
}

.admin-table th {
    color: var(--ocean-blue);
    background: var(--sand-light);
    white-space: nowrap;
}

/* SURVEY OPTIONS */
.q-group {
    border: 0;
    min-width: 0;
}

.q-group legend {
    font-weight: 600;
    color: var(--ocean-blue);
    margin-bottom: 8px;
}

.option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 6px;
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    background: var(--sand-light);
    cursor: pointer;
}

.option:has(input:checked) {
    border-color: var(--wave-blue);
    background: rgba(69, 150, 155, 0.12);
}

.option input[type="radio"],
.option input[type="checkbox"] {
    flex: 0 0 auto;
    accent-color: var(--wave-blue);
}

.option-text small {
    display: block;
    color: #777;
    font-size: 0.82rem;
}

.survey-form .other-input {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
}

.q-group > .other-input {
    margin-top: 8px;
}

/* Existing styles... (near the end) */

.survey-form .other-input {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
}

.q-group > .other-input {
    margin-top: 8px;
}

.q-group .other-input.hidden {
    display: none;
}

/* STAR RATING */
.star-rating {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.star-label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.star-label:hover {
    transform: translateY(-3px);
}

.star-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.star-icon {
    font-size: 2rem;
    color: var(--sand-dark);
    transition: color 0.2s ease, transform 0.2s ease;
    /* Use a hollow star by default via text-shadow or a different unicode character */
    color: transparent;
    -webkit-text-stroke: 2px var(--sand-dark);
}

.star-label input:checked + .star-icon {
    color: #ffc107; /* Gold fill */
    -webkit-text-stroke: 2px #ffc107;
    transform: scale(1.2);
}

.star-text {
    font-size: 0.75rem;
    text-align: center;
    color: var(--ocean-blue);
    font-weight: 600;
    line-height: 1.2;
}

.rank-list {
    counter-reset: rank;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-item {
    counter-increment: rank;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    cursor: grab;
    user-select: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.rank-item.rank-top {
    background: var(--white);
    border-color: var(--wave-blue);
    box-shadow: 0 2px 8px rgba(11, 57, 84, 0.12);
}

.rank-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.rank-pos {
    display: none;
}

.rank-pos::before {
    content: counter(rank) ".";
}

.rank-handle {
    flex: 0 0 auto;
    color: var(--wave-blue);
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.rank-item:hover .rank-handle {
    opacity: 1;
}

.rank-text {
    flex: 1 1 auto;
}

.rank-text small {
    display: block;
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.8rem;
}

.rank-btns {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rank-move {
    padding: 2px 8px;
    border: 1px solid var(--sand-dark);
    border-radius: 6px;
    background: var(--white);
    color: var(--ocean-blue);
    font-size: 0.65rem;
    line-height: 1.2;
    cursor: pointer;
}

.rank-move:hover {
    background: var(--sand-light);
}

.option:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.admin-card {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 57, 84, 0.08);
}

.admin-card h2 {
    font-size: 1rem;
    color: var(--ocean-blue);
    margin-bottom: 12px;
}

.admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-card-head h2 {
    margin-bottom: 0;
}

.rank-view {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid var(--sand-dark);
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--sand-light);
    color: var(--ocean-blue);
}

.bar-row {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.bar-track {
    height: 8px;
    background: var(--sand-light);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 3px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wave-blue), var(--ocean-blue));
}

/* GAME OVERLAY */
.game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 57, 84, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.game-overlay.active {
    display: flex;
}

.game-container {
    background: var(--sand-light);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.game-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--ocean-blue);
    cursor: pointer;
    line-height: 1;
}

.game-title {
    color: var(--ocean-blue);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.game-intro {
    color: #666;
    margin-bottom: 30px;
}

/* FLASHCARD */
.card-stack {
    perspective: 1000px;
    height: 300px;
    margin-bottom: 30px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    font-size: 1.2rem;
    font-weight: 500;
}

.card-front {
    background: var(--white);
    color: var(--ocean-blue);
    border: 3px solid var(--wave-blue);
}

.card-back {
    background: var(--wave-blue);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-hint {
    position: absolute;
    bottom: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: normal;
}

/* GAME CONTROLS */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-game {
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-next {
    background: var(--ocean-blue);
    color: var(--white);
}

.btn-restart {
    background: var(--wave-blue);
    color: var(--white);
}

.btn-game:hover {
    transform: scale(1.05);
}

.game-finished {
    display: none;
}


/* Admin Export Buttons */
.admin-export-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}
.admin-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #ccc;
    background: #f9f9f9;
    color: #333;
    transition: background 0.2s;
}
.admin-btn:hover {
    background: #eee;
}
.export-btn {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}
.print-btn {
    background: #e3f2fd;
    border-color: #bbdefb;
    color: #1565c0;
}

/* Print Styles */
@media print {
    .admin-bar, .admin-logout, .admin-export-btns, .rank-view {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .admin-main {
        padding: 0 !important;
    }
    .admin-card {
        break-inside: avoid;
        border: 1px solid #eee;
        margin-bottom: 20px;
    }
    .admin-table-wrap {
        overflow: visible !important;
    }
    .admin-table {
        width: 100% !important;
        border-collapse: collapse;
        font-size: 10pt;
    }
    .admin-table th, .admin-table td {
        border: 1px solid #ddd !important;
        padding: 4px !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
