@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #0d9488 100%);
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --gold: linear-gradient(135deg, #fbbf24, #f59e0b);
    --silver: linear-gradient(135deg, #d1d5db, #9ca3af);
    --bronze: linear-gradient(135deg, #d97706, #b45309);
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.1);
    --bg: #f0fdfa;
    --bg-secondary: #e0f2fe;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(255, 255, 255, 0.6);
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #ccfbf1;
    --border-light: #f0fdfa;
    --shadow-sm: 0 1px 3px rgba(13, 148, 136, 0.08);
    --shadow-md: 0 4px 12px rgba(13, 148, 136, 0.12);
    --shadow-lg: 0 10px 25px rgba(13, 148, 136, 0.15);
    --shadow-xl: 0 20px 40px rgba(13, 148, 136, 0.18);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

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

/* Header */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: headerShimmer 10s ease-in-out infinite;
}

@keyframes headerShimmer {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.15) rotate(3deg); opacity: 0.8; }
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logos img {
    height: 52px;
    width: auto;
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-logos img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

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

.header-text h1 {
    font-size: 2.4em;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-text .subtitle {
    font-size: 1em;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-text .campaign-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

.header-text .campaign-tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.month-label {
    display: block;
    text-align: center;
    background: rgba(255,255,255,0.12);
    padding: 11px 28px;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Navigation */
.nav {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 17px 28px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.92em;
    letter-spacing: 0.3px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.04);
}

.nav a:hover::after,
.nav a.active::after {
    width: 45px;
}

.nav a.active {
    color: var(--primary);
    font-weight: 700;
}

/* Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 32px;
    margin: 22px 0;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card h2 {
    font-size: 1.35em;
    margin-bottom: 22px;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h2::before {
    content: '';
    width: 5px;
    height: 26px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

/* Podium */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin: 45px 0 30px;
    padding: 45px 24px 35px;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.04) 0%, transparent 100%);
    border-radius: var(--radius-xl);
    position: relative;
}

.podium-item {
    text-align: center;
    flex: 0 0 210px;
    transition: transform 0.3s ease;
}

.podium-item:hover {
    transform: translateY(-8px);
}

.podium-item.first { order: 0; }
.podium-item.second { order: -1; }
.podium-item.third { order: 1; }

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.podium-item:hover .podium-avatar {
    transform: scale(1.08);
}

.podium-item.first .podium-avatar {
    background: var(--gold);
    width: 105px;
    height: 105px;
    font-size: 2.3em;
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
}

.podium-item.first .podium-avatar::after {
    content: '👑';
    position: absolute;
    top: -18px;
    font-size: 0.5em;
}

.podium-item.second .podium-avatar {
    background: var(--silver);
    box-shadow: 0 8px 28px rgba(156, 163, 175, 0.4);
}

.podium-item.third .podium-avatar {
    background: var(--bronze);
    box-shadow: 0 8px 28px rgba(180, 83, 9, 0.4);
}

.podium-name {
    font-weight: 700;
    font-size: 1em;
    margin: 10px 0 4px;
    color: var(--text);
}

.podium-place {
    color: var(--text-muted);
    font-size: 0.82em;
}

.podium-steps {
    font-size: 1.35em;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 4px;
    font-family: 'Space Grotesk', sans-serif;
}

.podium-avg {
    color: var(--text-muted);
    font-size: 0.78em;
}

.podium-prize {
    background: var(--gold);
    color: #000;
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82em;
    margin-top: 12px;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.podium-base {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 22px;
}

.podium-base .base-block {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.3em;
    letter-spacing: 1px;
    font-family: 'Space Grotesk', sans-serif;
}

.podium-base .base-block.first-base {
    width: 210px;
    height: 65px;
    background: var(--gold);
    box-shadow: 0 -4px 22px rgba(251, 191, 36, 0.3);
}

.podium-base .base-block.second-base {
    width: 210px;
    height: 48px;
    background: var(--silver);
}

.podium-base .base-block.third-base {
    width: 210px;
    height: 38px;
    background: var(--bronze);
}

/* Rankings Table */
.rankings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 18px;
}

.rankings-table th {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.rankings-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.rankings-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.rankings-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.rankings-table tr:hover td {
    background: rgba(13, 148, 136, 0.03);
}

.rankings-table tr:last-child td {
    border-bottom: none;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    color: white;
    font-size: 0.88em;
    font-family: 'Space Grotesk', sans-serif;
}

.rank-badge.rank-1 {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.rank-badge.rank-2 {
    background: var(--silver);
    color: #000;
}

.rank-badge.rank-3 {
    background: var(--bronze);
}

.rank-badge.rank-other {
    background: var(--text-muted);
}

.step-count {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05em;
    font-family: 'Space Grotesk', sans-serif;
}

.avg-steps {
    color: var(--text-muted);
    font-size: 0.88em;
}

.prize-tag {
    background: var(--success-bg);
    color: var(--success);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82em;
}

.verified {
    color: var(--success);
    font-weight: 600;
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.88em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.form-group input[type="file"] {
    padding: 14px;
    border: 2px dashed var(--border);
    background: white;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary);
}

.form-group .checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-group .checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.82em;
    margin-top: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(13, 148, 136, 0.35);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 148, 136, 0.04);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85em;
}

/* Alerts */
.alert {
    padding: 16px 22px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-bg);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: var(--danger-bg);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: var(--warning-bg);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: var(--info-bg);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Registration Success */
.success-box {
    text-align: center;
    padding: 55px 35px;
}

.success-box .check-icon {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    margin: 0 auto 28px;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.3);
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-box h2 {
    color: var(--success);
    font-size: 1.7em;
    margin-bottom: 16px;
}

.success-box .participation-id {
    font-size: 2.1em;
    font-weight: 800;
    color: var(--primary);
    background: rgba(13, 148, 136, 0.08);
    display: inline-block;
    padding: 14px 40px;
    border-radius: var(--radius-lg);
    margin: 16px 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 3px;
}

/* Footer */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.8);
    padding: 55px 0 28px;
    margin-top: 65px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 42px;
    margin-bottom: 42px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo img {
    height: 42px;
}

.footer-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    color: white;
}

.footer p {
    line-height: 1.75;
    font-size: 0.88em;
}

.footer h4 {
    color: white;
    font-size: 0.95em;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 11px;
}

.footer ul a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88em;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul a:hover {
    color: white;
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 26px;
    text-align: center;
    font-size: 0.82em;
    opacity: 0.65;
}

/* Admin */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 265px;
    background: var(--primary-gradient);
    color: white;
    padding: 28px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .sidebar-header {
    padding: 22px 28px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}

.admin-sidebar .sidebar-header h3 {
    font-size: 1.25em;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 12px;
}

.admin-sidebar .sidebar-header p {
    font-size: 0.78em;
    opacity: 0.7;
    margin-top: 5px;
}

.admin-sidebar a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 13px 28px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.92em;
    font-weight: 500;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--accent);
}

.admin-content {
    margin-left: 265px;
    padding: 38px;
    flex: 1;
    min-height: 100vh;
    background: var(--bg);
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-topbar h2 {
    font-size: 1.65em;
    font-family: 'Space Grotesk', sans-serif;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-number {
    font-size: 2.3em;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.88em;
    margin-top: 10px;
    font-weight: 600;
}

/* Campaign Banner */
.campaign-banner {
    background: var(--primary-gradient);
    color: white;
    padding: 18px 0;
    text-align: center;
}

.campaign-banner img {
    height: 36px;
    vertical-align: middle;
}

.campaign-banner span {
    margin: 0 20px;
    font-size: 0.88em;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
        padding: 28px 16px;
    }

    .header-logos {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logos img {
        height: 42px;
        padding: 6px 10px;
    }

    .header-text h1 {
        font-size: 1.6em;
    }

    .header-text .subtitle {
        font-size: 0.88em;
    }

    .header-text .campaign-tag {
        font-size: 0.72em;
        padding: 5px 15px;
    }

    .podium {
        flex-direction: column;
        align-items: center;
        padding: 28px 16px;
        gap: 28px;
    }

    .podium-item.first,
    .podium-item.second,
    .podium-item.third {
        order: unset;
    }

    .podium-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 290px;
    }

    .podium-base {
        flex-direction: column;
        align-items: center;
    }

    .podium-base .base-block {
        width: 100% !important;
        max-width: 290px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-content {
        margin-left: 0;
        padding: 22px 16px;
    }

    .rankings-table {
        font-size: 0.78em;
        display: block;
    }

    .rankings-table thead {
        display: none;
    }

    .rankings-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        gap: 8px;
        background: white;
        margin-bottom: 12px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .rankings-table tbody td {
        padding: 4px 8px;
        border: none;
    }

    .rankings-table tbody td:nth-child(1) {
        display: none;
    }

    .rankings-table tbody td:nth-child(2) {
        display: none;
    }

    .rankings-table tbody td:nth-child(3) {
        font-weight: 700;
        width: 100%;
        font-size: 1.18em;
    }

    .rankings-table tbody td:nth-child(4),
    .rankings-table tbody td:nth-child(5) {
        font-size: 0.88em;
        color: var(--text-secondary);
    }

    .rankings-table tbody td:last-child {
        width: 100%;
        margin-top: 8px;
    }

    .nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav a {
        padding: 15px 20px;
        font-size: 0.88em;
    }

    .card {
        padding: 24px 20px;
        margin: 16px 12px;
        border-radius: var(--radius-lg);
    }

    .card h2 {
        font-size: 1.18em;
    }

    .container {
        padding: 0 14px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.88em;
    }

    .btn-sm {
        padding: 8px 15px;
        font-size: 0.78em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-logos img {
        height: 36px;
        padding: 5px 8px;
    }

    .header-text h1 {
        font-size: 1.3em;
    }

    .nav a {
        padding: 13px 13px;
        font-size: 0.82em;
    }

    .podium-avatar {
        width: 68px;
        height: 68px;
        font-size: 1.5em;
    }

    .podium-item.first .podium-avatar {
        width: 85px;
        height: 85px;
        font-size: 2em;
    }

    .podium-name {
        font-size: 0.88em;
    }

    .podium-steps {
        font-size: 1.12em;
    }

    .stat-card .stat-number {
        font-size: 1.85em;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.wa-float-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85em;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.wa-float-btn:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.wa-float-btn svg {
    width: 34px;
    height: 34px;
    fill: white;
}

/* WhatsApp Modal */
.wa-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.wa-modal-overlay.active {
    display: flex;
}

.wa-modal {
    background: white;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 430px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.3);
    animation: waSlideUp 0.3s ease;
}

@keyframes waSlideUp {
    from { transform: translateY(35px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wa-modal-header {
    background: #25D366;
    color: white;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wa-modal-header svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.wa-modal-header h3 {
    font-size: 1.18em;
    font-weight: 700;
}

.wa-modal-header p {
    font-size: 0.82em;
    opacity: 0.9;
}

.wa-modal-body {
    padding: 30px;
}

.wa-modal-body .form-group {
    margin-bottom: 20px;
}

.wa-modal-body .form-group label {
    font-size: 0.88em;
    margin-bottom: 7px;
}

.wa-modal-body .form-group input {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    width: 100%;
    font-size: 1em;
}

.wa-modal-footer {
    padding: 0 30px 30px;
    display: flex;
    gap: 14px;
}

.wa-modal-footer .btn-send {
    flex: 1;
    background: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.wa-modal-footer .btn-send:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.wa-modal-footer .btn-cancel {
    background: var(--bg-secondary);
    color: var(--text);
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.92em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa-modal-footer .btn-cancel:hover {
    background: var(--border);
}

.wa-hint {
    font-size: 0.78em;
    color: var(--text-muted);
    text-align: center;
    margin-top: 14px;
}
