:root {
    --bg-primary: #fafbfc;
    --bg-secondary: #f0f2f5;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(0, 0, 0, 0.03);
    --shadow: rgba(0, 0, 0, 0.02);
    --accent: #ff6b35;
    --accent-hover: #ff8c42;
    --accent-light: rgba(255, 107, 53, 0.12);
    --checkbox-bg: rgba(0, 0, 0, 0.02);
    --checkbox-checked: #ff6b35;
    --badge-bg: rgba(255, 107, 53, 0.04);
    --badge-text: #ff6b35;
}

[data-color-theme="purple"] {
    --accent: #8b5cf6;
    --accent-hover: #a78bfa;
    --accent-light: rgba(139, 92, 246, 0.1);
    --checkbox-checked: #8b5cf6;
    --badge-bg: rgba(139, 92, 246, 0.1);
    --badge-text: #8b5cf6;
}

[data-color-theme="blue"] {
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-light: rgba(59, 130, 246, 0.1);
    --checkbox-checked: #3b82f6;
    --badge-bg: rgba(59, 130, 246, 0.1);
    --badge-text: #3b82f6;
}

[data-color-theme="green"] {
    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-light: rgba(16, 185, 129, 0.1);
    --checkbox-checked: #10b981;
    --badge-bg: rgba(16, 185, 129, 0.1);
    --badge-text: #10b981;
}

[data-color-theme="orange"] {
    --accent: #ff6b35;
    --accent-hover: #ff8c42;
    --accent-light: rgba(255, 107, 53, 0.1);
    --checkbox-checked: #ff6b35;
    --badge-bg: rgba(255, 107, 53, 0.1);
    --badge-text: #ff6b35;
}

[data-color-theme="red"] {
    --accent: #ef4444;
    --accent-hover: #f87171;
    --accent-light: rgba(239, 68, 68, 0.1);
    --checkbox-checked: #ef4444;
    --badge-bg: rgba(239, 68, 68, 0.1);
    --badge-text: #ef4444;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.5);
    --checkbox-bg: rgba(255, 255, 255, 0.1);
}

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

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn-start,
    .btn-complete,
    .btn-control,
    .theme-toggle,
    .mobile-menu-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-start,
    .btn-complete {
        min-height: 48px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.5s ease;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 15s ease infinite;
    transition: background 0.5s ease;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.015) 0%, transparent 50%);
    animation: floatingBg 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatingBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, 5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

:root body::before,
[data-color-theme="orange"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.04), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.04), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(255, 107, 53, 0.025), transparent 50%);
}

[data-color-theme="purple"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.04), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.04), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(102, 126, 234, 0.025), transparent 50%);
}

[data-color-theme="blue"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 172, 254, 0.04), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 254, 0.04), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(79, 172, 254, 0.025), transparent 50%);
}

[data-color-theme="green"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(67, 233, 123, 0.04), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(56, 249, 215, 0.04), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(67, 233, 123, 0.025), transparent 50%);
}

[data-color-theme="red"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(240, 147, 251, 0.04), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.04), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(240, 147, 251, 0.025), transparent 50%);
}

[data-theme="dark"] body::before {
    opacity: 2;
}

[data-theme="dark"][data-color-theme="orange"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.15), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(255, 107, 53, 0.1), transparent 50%);
}

[data-theme="dark"][data-color-theme="purple"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(102, 126, 234, 0.1), transparent 50%);
}

[data-theme="dark"][data-color-theme="blue"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 172, 254, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 254, 0.15), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(79, 172, 254, 0.1), transparent 50%);
}

[data-theme="dark"][data-color-theme="green"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(67, 233, 123, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(56, 249, 215, 0.15), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(67, 233, 123, 0.1), transparent 50%);
}

[data-theme="dark"][data-color-theme="red"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(240, 147, 251, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.15), transparent 60%),
        radial-gradient(circle at 50% 20%, rgba(240, 147, 251, 0.1), transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.navbar {
    padding: 20px 0;
    margin-bottom: 60px;
    border-radius: 24px;
    margin: 20px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    box-shadow: 0 8px 32px var(--shadow), 0 0 0 1px var(--glass-border);
}



@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease backwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.15s; }
.nav-link:nth-child(3) { animation-delay: 0.2s; }
.nav-link:nth-child(4) { animation-delay: 0.25s; }
.nav-link:nth-child(5) { animation-delay: 0.3s; }
.nav-link:nth-child(6) { animation-delay: 0.35s; }
.nav-link:nth-child(7) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--badge-bg);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo svg {
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
    animation: pulse 2s ease-in-out infinite, rotate360 20s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(var(--rotation, 0deg)); }
    50% { transform: scale(1.08) rotate(var(--rotation, 0deg)); }
}

@keyframes rotate360 {
    from { --rotation: 0deg; }
    to { --rotation: 360deg; }
}

.theme-toggle {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--glass-bg);
}

.theme-toggle .icon {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .sun {
    opacity: 1;
}

.theme-toggle .moon {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .sun {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .moon {
    opacity: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease, titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

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

.section-page {
    display: none;
}

.section-page.active {
    display: block;
}

.dashboard-section {
    margin-bottom: 80px;
}

.player-header {
    padding: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.player-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent), transparent);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.player-avatar {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--badge-bg), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.player-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    opacity: 0.5;
    filter: blur(12px);
    z-index: -1;
    animation: glow 2s ease-in-out infinite, rotateGlow 8s linear infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-avatar svg {
    color: var(--accent);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.4));
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.player-status {
    color: var(--text-secondary);
    font-size: 1rem;
}

.player-status span {
    color: var(--accent);
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.training-overview {
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.training-overview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.overview-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overview-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-breakdown h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: var(--checkbox-bg);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.dashboard-card {
    padding: 32px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow), 0 0 0 1px var(--accent);
}

.dashboard-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--badge-bg), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.card-icon svg {
    color: var(--accent);
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.card-content h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 1s ease-out;
}

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

.card-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

.hero {
    padding: 80px 60px;
    margin-bottom: 60px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 48px;
    font-weight: 300;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    padding: 28px 44px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px) scale(1.05);
    background: var(--badge-bg);
    box-shadow: 0 12px 40px var(--shadow), 0 0 0 2px var(--accent);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 1s ease-out;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.exercises {
    margin-bottom: 60px;
}

.exercises-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .exercises-grid {
        grid-template-columns: 1fr;
    }
}

.completed-section {
    margin-top: 60px;
}

.completed-section .exercise-card {
    opacity: 0.5;
}

.completed-section .exercise-card:hover {
    opacity: 0.7;
}

.exercise-card {
    padding: 0;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.exercise-card:nth-child(1) { animation-delay: 0.1s; }
.exercise-card:nth-child(2) { animation-delay: 0.2s; }
.exercise-card:nth-child(3) { animation-delay: 0.3s; }
.exercise-card:nth-child(4) { animation-delay: 0.4s; }
.exercise-card:nth-child(5) { animation-delay: 0.5s; }
.exercise-card:nth-child(6) { animation-delay: 0.6s; }

.exercise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exercise-card:hover::before {
    opacity: 0.05;
}

.exercise-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15), 0 0 0 2px var(--accent);
}

.exercise-card:active {
    transform: translateY(-8px) scale(1.01);
}



.exercise-card.completed .exercise-number {
    text-decoration: line-through;
}

.exercise-number {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.08;
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exercise-content {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    margin-top: 40px;
}

.exercise-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    flex: 1;
}

.checkbox-container {
    position: relative;
    cursor: pointer;
    user-select: none;
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    background-color: var(--checkbox-bg);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--glass-border);
}

.checkbox-container:hover .checkmark {
    background-color: var(--checkbox-bg);
    border-color: var(--accent);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--checkbox-checked);
    border-color: var(--checkbox-checked);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 11px;
    top: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.exercise-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.exercise-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    background: linear-gradient(135deg, var(--badge-bg), rgba(255,255,255,0.05));
    color: var(--badge-text);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.exercise-card:hover .badge::before {
    animation: badgeShine 1s ease-in-out infinite;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-card {
    padding: 60px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 24px;
}

.progress-card h3 {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.progress-bar-container {
    position: relative;
    display: inline-block;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-fill {
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--accent)); }
    50% { filter: drop-shadow(0 0 16px var(--accent)); }
}

.progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.progress-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .exercises {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .calendar-container {
        grid-template-columns: 1fr;
    }

    .profile-container {
        grid-template-columns: 1fr;
    }

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

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .theme-options {
        width: 100%;
        justify-content: space-between;
    }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--badge-bg);
}

@media (max-width: 768px) {
    /* Reset e Base */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    .glass,
    .section-page,
    .dashboard-grid,
    .exercises-grid,
    .calendar-container,
    .calendar-grid,
    .settings-card,
    .profile-container,
    .training-overview,
    .player-header {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 4vw;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0 auto;
    }

    /* Navbar Mobile */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        padding: 16px 0;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    [data-theme="dark"] .navbar {
        background: rgba(10, 10, 10, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    
    .navbar .container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:active {
        transform: scale(0.95);
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px 20px;
        gap: 12px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 18px 20px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 56px;
        display: flex;
        align-items: center;
        color: var(--text-primary);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        transition: all 0.2s ease;
    }

    .nav-link:active {
        transform: scale(0.98);
    }

    .nav-link.active {
        background: var(--accent);
        color: white;
        border-color: var(--accent);
    }
    
    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Espaçamento */
    body {
        padding-top: 72px;
    }
    
    main {
        padding-top: 16px;
    }

    .calendar-grid {
        padding: 1vw;
        gap: 0.5vw;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .calendar-day {
        font-size: clamp(0.6rem, 2vw, 0.75rem);
        padding: 1vw 0.5vw;
        min-height: clamp(26px, 8vw, 32px);
        border-radius: clamp(4px, 1.5vw, 6px);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calendar-day-header {
        font-size: clamp(0.55rem, 1.8vw, 0.65rem);
        padding: clamp(4px, 1.5vw, 6px) 0.5vw;
        font-weight: 700;
    }

    .player-header {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    
    .player-header::before {
        display: none;
    }

    .player-avatar {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .player-name {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .player-status {
        font-size: 0.85rem;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dashboard-card {
        padding: 20px 16px;
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-content {
        width: 100%;
    }

    .card-content h3 {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .card-value {
        font-size: 2rem;
        line-height: 1;
    }

    .card-label {
        font-size: 0.75rem;
        margin-top: 2px;
    }

    .training-overview {
        padding: 20px;
        border-radius: 16px;
    }

    .training-overview h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 24px;
    }

    .overview-item {
        padding: 14px;
        background: var(--badge-bg);
        border-radius: 12px;
    }

    .overview-label {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .overview-value {
        font-size: 1.6rem;
        line-height: 1;
    }
    
    .progress-breakdown h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .skill-bar {
        margin-bottom: 16px;
    }
    
    .skill-info {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .skill-progress {
        height: 8px;
    }

    .exercises-grid {
        gap: 16px;
    }

    .exercise-card {
        border-radius: 16px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero {
        padding: 32px 4vw;
        border-radius: 16px;
        margin-bottom: 24px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero h2 {
        font-size: 1.75rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .stats {
        gap: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-item {
        padding: 16px 20px;
        min-width: 0;
        flex: 1;
        border-radius: 14px;
    }

    .stat-value {
        font-size: 1.8rem;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    .progress-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .progress-card h3 {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .progress-ring {
        width: 160px !important;
        height: 160px !important;
    }

    .progress-percentage {
        font-size: 2rem;
    }

    .progress-label {
        font-size: 0.75rem;
    }
}

.exercise-status {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--checkbox-bg);
}

.btn-start {
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5); }
}

.btn-start::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-start:hover::before {
    width: 300px;
    height: 300px;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-start:active {
    transform: translateY(-1px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--checkbox-bg);
}

.modal-body {
    padding: 32px;
}

.timer-display {
    text-align: center;
    margin-bottom: 32px;
}

.timer-display span {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.timer-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-control {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-pause {
    background: var(--badge-bg);
    color: var(--text-primary);
}

.btn-resume {
    background: var(--accent);
    color: white;
}

.btn-control:hover {
    transform: translateY(-2px);
}

.btn-control.hidden {
    display: none;
}

.execution-tracker {
    background: var(--glass-bg);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.execution-tracker h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.execution-input {
    margin-bottom: 20px;
}

.execution-input label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.counter input {
    width: 100px;
    padding: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    background: var(--checkbox-bg);
    color: var(--text-primary);
}

.execution-notes label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.execution-notes textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    background: var(--checkbox-bg);
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
}

.btn-complete {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.calendar-section {
    margin-bottom: 80px;
}

.calendar-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.calendar-header {
    padding: 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    grid-column: 1 / -1;
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.calendar-nav {
    background: var(--badge-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--accent);
}

.calendar-nav svg {
    color: var(--text-primary);
}

.calendar-grid {
    padding: 24px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px;
}

.calendar-day:hover {
    background: var(--badge-bg);
}

.calendar-day.today {
    background: var(--accent);
    color: white;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.calendar-day.today.has-event::after {
    background: white;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.events-panel {
    padding: 24px;
    border-radius: 20px;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.events-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-add-event {
    padding: 10px 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-add-event:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-events {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
}

.event-item {
    padding: 16px;
    background: var(--badge-bg);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.event-item:hover {
    background: var(--checkbox-bg);
    transform: translateX(4px);
}

.event-item.training {
    border-left-color: #667eea;
}

.event-item.game {
    border-left-color: #f093fb;
}

.event-item.travel {
    border-left-color: #4facfe;
}

.event-item.other {
    border-left-color: #43e97b;
}

.event-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.event-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.event-type {
    display: inline-block;
    padding: 4px 8px;
    background: var(--glass-bg);
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    background: var(--checkbox-bg);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.admin-section {
    margin-bottom: 80px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--glass-border);
}

.admin-tab {
    padding: 16px 32px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: var(--badge-bg);
}

.admin-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-content {
    position: relative;
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.gender-filter {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-admin {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-admin:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.players-list,
.exercises-list-admin,
.calendar-events-list,
.albums-list-admin {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.gallery-section {
    margin-bottom: 80px;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.album-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 300px;
    animation: fadeInUp 0.6s ease backwards;
}

.album-card:nth-child(1) { animation-delay: 0.1s; }
.album-card:nth-child(2) { animation-delay: 0.2s; }
.album-card:nth-child(3) { animation-delay: 0.3s; }
.album-card:nth-child(4) { animation-delay: 0.4s; }
.album-card:nth-child(5) { animation-delay: 0.5s; }
.album-card:nth-child(6) { animation-delay: 0.6s; }

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow), 0 0 0 2px var(--accent);
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.album-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.album-meta {
    font-size: 0.875rem;
    opacity: 0.9;
}

.album-type {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-right: 8px;
}

.modal-large {
    max-width: 900px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--badge-bg);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.album-item-admin {
    padding: 16px;
    background: var(--badge-bg);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album-info-admin h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.album-info-admin p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.settings-section {
    margin-bottom: 80px;
}

.settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--glass-border);
}

.settings-tab {
    padding: 16px 32px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.settings-tab:hover {
    color: var(--text-primary);
    background: var(--badge-bg);
}

.settings-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.settings-container {
    display: grid;
    gap: 24px;
    max-width: 800px;
}

.settings-card {
    padding: 32px;
    border-radius: 20px;
}

.settings-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.theme-options {
    display: flex;
    gap: 12px;
}

.theme-option {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    animation: fadeInUp 0.6s ease backwards;
}

.theme-option:nth-child(1) { animation-delay: 0.1s; }
.theme-option:nth-child(2) { animation-delay: 0.2s; }
.theme-option:nth-child(3) { animation-delay: 0.3s; }
.theme-option:nth-child(4) { animation-delay: 0.4s; }
.theme-option:nth-child(5) { animation-delay: 0.5s; }

.theme-option::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: inherit;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.theme-option:hover {
    transform: scale(1.15) rotate(5deg);
}

.theme-option:hover::before {
    opacity: 0.6;
}

.theme-option.active {
    border-color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: scale(1.1);
}

.theme-option.active::before {
    opacity: 0.8;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--checkbox-bg);
    transition: 0.3s;
    border-radius: 32px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.setting-select {
    padding: 10px 16px;
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    background: var(--checkbox-bg);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    min-width: 150px;
}

.btn-danger {
    width: 100%;
    padding: 14px;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 2px solid #ff3b30;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-danger:hover {
    background: #ff3b30;
    color: white;
}

.warning-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.players-section {
    margin-bottom: 80px;
}

.players-header {
    margin-bottom: 32px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.player-card {
    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease backwards;
}

.player-card:nth-child(1) { animation-delay: 0.1s; }
.player-card:nth-child(2) { animation-delay: 0.2s; }
.player-card:nth-child(3) { animation-delay: 0.3s; }
.player-card:nth-child(4) { animation-delay: 0.4s; }
.player-card:nth-child(5) { animation-delay: 0.5s; }
.player-card:nth-child(6) { animation-delay: 0.6s; }

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow), 0 0 0 2px var(--accent);
}

.player-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.player-avatar-card {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--badge-bg), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.player-avatar-card svg {
    color: var(--accent);
}

.player-card-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.player-card-position {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.player-card-details {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.player-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
}

.player-detail-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.player-detail-value {
    font-weight: 600;
}

.player-card-actions {
    display: flex;
    gap: 12px;
}

.btn-edit-player,
.btn-delete-player {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-edit-player {
    background: var(--badge-bg);
    color: var(--accent);
}

.btn-edit-player:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-delete-player {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.btn-delete-player:hover {
    background: #ff3b30;
    color: white;
    transform: translateY(-2px);
}

.admin-only {
    display: none;
}

body.admin-mode .admin-only {
    display: flex;
}

.player-item,
.exercise-item-admin {
    padding: 16px;
    background: var(--badge-bg);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-info-item h4,
.exercise-info-item h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.player-info-item p,
.exercise-info-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-delete {
    padding: 8px 12px;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #ff3b30;
    color: white;
}

#progressCard {
    display: none;
}

#exercises.active #progressCard {
    display: block;
}

.profile-section,
.exercises-section,
.calendar-section {
    margin-bottom: 80px;
}

.profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.profile-info {
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: var(--badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large svg {
    color: var(--accent);
}

.btn-change-photo {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change-photo:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.player-gallery {
    margin-top: 24px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-add-photo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-photo:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.player-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.player-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-photo-item:hover {
    transform: scale(1.05);
}

.player-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-photo-item .delete-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-photo-item:hover .delete-photo {
    opacity: 1;
}

.btn-edit {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 10px 16px;
    background: var(--badge-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: var(--accent);
    color: white;
}

.profile-details {
    display: grid;
    gap: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-weight: 600;
    font-size: 1.125rem;
}

.training-history {
    padding: 32px;
    border-radius: 20px;
}

.training-history h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    padding: 16px;
    background: var(--badge-bg);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.history-exercises {
    font-weight: 600;
}

.history-time {
    font-size: 0.875rem;
    color: var(--accent);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
}

.evolution-chart {
    padding: 40px;
    border-radius: 20px;
}

.evolution-chart h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.evolution-chart canvas {
    width: 100% !important;
    height: 300px !important;
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }


    .container {
        padding: 0 12px;
    }

    .navbar {
        margin: 8px;
        padding: 12px 0;
    }

    .logo {
        font-size: 1rem;
    }

    .logo span {
        display: none;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero {
        padding: 30px 16px;
    }

    .exercise-content {
        padding: 16px;
    }

    .exercise-number {
        font-size: 3rem;
        top: 12px;
        left: 12px;
    }

    .exercise-header {
        margin-top: 30px;
    }

    .exercise-header h3 {
        font-size: 1.1rem;
    }

    .modal-content {
        width: 96%;
        max-height: 95vh;
    }

    .modal-header, .modal-body {
        padding: 16px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .timer-display span {
        font-size: 3rem;
    }

    .timer-controls {
        flex-direction: column;
        gap: 12px;
    }

    .btn-control {
        width: 100%;
        justify-content: center;
    }

    .dashboard-card {
        padding: 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .stat-item {
        padding: 14px 20px;
        min-width: 90px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .streak-display {
        padding: 12px;
    }

    .streak-icon {
        font-size: 2rem;
    }

    .streak-count {
        font-size: 1.5rem;
    }

    .streak-calendar {
        gap: 4px;
    }

    .streak-day {
        width: 32px;
        height: 32px;
    }

    .streak-day-name {
        font-size: 0.6rem;
    }

    .streak-day-icon {
        font-size: 0.9rem;
    }

    .achievement-notification {
        right: -100%;
        left: 10px;
        right: 10px;
        min-width: auto;
        padding: 20px;
    }

    .achievement-notification.show {
        right: 10px;
        left: 10px;
    }

    .notification-icon {
        font-size: 2rem;
    }

    .notification-title {
        font-size: 1rem;
    }

    .notification-message {
        font-size: 0.85rem;
    }

    .achievements-container {
        padding: 10px;
        gap: 6px;
    }

    .achievement-badge {
        min-width: 80px;
        padding: 10px;
    }

    .achievement-icon {
        font-size: 1.8rem;
    }

    .achievement-name {
        font-size: 0.65rem;
    }

    .player-level-bar {
        padding: 10px 12px;
    }

    .level-badge {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .level-name {
        font-size: 1rem;
    }

    .training-overview,
    .profile-info,
    .evolution-chart {
        padding: 16px;
    }

    .overview-stats {
        gap: 12px;
    }

    .overview-value {
        font-size: 1.5rem;
    }
}

/* Visual Enhancements */
.dashboard-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.dashboard-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover::after {
    opacity: 1;
}

.dashboard-card:hover {
    box-shadow: 0 20px 60px var(--shadow), 0 0 0 1px var(--accent) !important;
}

.card-icon {
    background: linear-gradient(135deg, var(--badge-bg), rgba(255, 255, 255, 0.05)) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.glass {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

.section-title {
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}

.navbar {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}

.player-header {
    position: relative;
}

.player-header::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}

.btn-start {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-start::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-start:hover::before {
    width: 300px;
    height: 300px;
}

.skill-fill {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.exercise-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.exercise-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.exercise-card:hover::after {
    left: 100%;
}

.exercise-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent) !important;
}

/* Enhanced Player Gallery */
.player-gallery {
    margin-top: 32px;
    position: relative;
}

.player-gallery::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--glass-border);
}

.gallery-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-header h3::before {
    content: '📸';
    font-size: 1.8rem;
}

.btn-add-photo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-add-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-photo:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.player-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.player-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.player-photo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.player-photo-item:hover::before {
    opacity: 1;
}

.player-photo-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 2px var(--accent);
    border-color: var(--accent);
}

.player-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.player-photo-item:hover img {
    transform: scale(1.1);
}

.player-photo-item .delete-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 59, 48, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.player-photo-item:hover .delete-photo {
    opacity: 1;
    transform: scale(1);
}

.player-photo-item .delete-photo:hover {
    background: rgba(255, 59, 48, 1);
    transform: scale(1.1);
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    background: var(--badge-bg);
    border-radius: 12px;
    border: 2px dashed var(--glass-border);
}

.no-data::before {
    content: '📷';
    display: block;
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Add Photo Placeholder */
.add-photo-placeholder {
    aspect-ratio: 1;
    border-radius: 16px;
    background: var(--badge-bg);
    border: 2px dashed var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent);
}

.add-photo-placeholder:hover {
    background: var(--glass-bg);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.add-photo-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.add-photo-placeholder span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Simple Clean Player Gallery */
.player-gallery {
    margin-top: 24px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.btn-add-photo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-add-photo:hover {
    background: var(--accent-hover);
}

.player-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.player-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--badge-bg);
    transition: transform 0.3s ease;
}

.player-photo-item:hover {
    transform: translateY(-4px);
}

.player-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-photo-item .delete-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 18px;
}

.player-photo-item:hover .delete-photo {
    opacity: 1;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Subtle Change Photo Button */
.btn-change-photo-subtle {
    display: block;
    margin: 8px auto 0;
    padding: 6px 16px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change-photo-subtle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--badge-bg);
}

/* Clean Gallery Override */
.player-gallery {
    margin-top: 32px !important;
}

.player-gallery .gallery-header h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.player-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 12px !important;
}

.player-photo-item {
    border-radius: 8px !important;
    border: 1px solid var(--glass-border);
}

.btn-add-photo {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.login-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    text-align: center;
}

.login-header {
    margin-bottom: 32px;
}

.login-header svg {
    color: var(--accent);
    margin-bottom: 16px;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.login-form {
    text-align: left;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--badge-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--glass-bg);
}

.form-group-checkbox {
    margin-bottom: 24px;
}

.form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Hide main content until logged in */
.main-content.hidden {
    display: none;
}


/* Partículas Flutuantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 19s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 11s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 20s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Efeito de Ondas no Background */
@keyframes wave {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(5px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(-5px); }
}

.training-overview,
.profile-info,
.evolution-chart {
    animation: fadeInUp 0.6s ease, wave 6s ease-in-out infinite;
}

/* Efeito de Respiração nos Ícones */
.card-icon svg,
.player-avatar svg {
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Efeito de Brilho nos Botões */
.btn-complete,
.btn-admin,
.btn-add-event,
.btn-add-photo {
    position: relative;
    overflow: hidden;
}

.btn-complete::after,
.btn-admin::after,
.btn-add-event::after,
.btn-add-photo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Efeito de Digitação no Hero */
.hero h2 {
    animation: fadeInUp 0.6s ease, textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(102, 126, 234, 0.3); }
    50% { text-shadow: 0 0 20px rgba(102, 126, 234, 0.6); }
}

/* Efeito de Pulsação nas Notificações */
.event-item {
    animation: fadeInLeft 0.6s ease backwards;
}

.event-item:nth-child(1) { animation-delay: 0.1s; }
.event-item:nth-child(2) { animation-delay: 0.2s; }
.event-item:nth-child(3) { animation-delay: 0.3s; }
.event-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Efeito de Rotação Suave no Calendar */
.calendar-day {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Efeito de Zoom nas Fotos */
.photo-item,
.player-photo-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-item:hover,
.player-photo-item:hover {
    z-index: 10;
}

/* Animação de Loading para Imagens */
.album-cover,
.photo-item,
.player-photo-item {
    background: linear-gradient(
        90deg,
        var(--badge-bg) 0%,
        var(--glass-bg) 50%,
        var(--badge-bg) 100%
    );
    background-size: 200% 100%;
    animation: shimmerBg 2s ease-in-out infinite;
}

@keyframes shimmerBg {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.album-cover img,
.photo-item img,
.player-photo-item img {
    animation: fadeIn 0.5s ease;
}

/* Efeito de Destaque no Hover dos Skills */
.skill-bar:hover .skill-fill {
    animation: skillPulse 0.6s ease;
}

@keyframes skillPulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

/* Efeito de Confete ao Completar Exercício */
@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Efeito de Sucesso */
.success-animation {
    animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Micro-interações nos Inputs */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Efeito de Onda ao Clicar */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* Streak Display */
.streak-display {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

.streak-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.streak-icon {
    font-size: 3rem;
    animation: flameFlicker 1.5s ease-in-out infinite;
}

.streak-info {
    flex: 1;
}

.streak-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.streak-count {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.streak-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.streak-subtitle span {
    color: var(--accent);
    font-weight: 600;
}

.streak-calendar {
    display: flex;
    gap: 8px;
}

.streak-day {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--checkbox-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.streak-day.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--accent-light);
}

.streak-day.today {
    border: 2px solid var(--accent);
}

.streak-day-name {
    font-size: 0.65rem;
    font-weight: 600;
}

.streak-day-icon {
    font-size: 1rem;
    margin-top: 2px;
}

/* Badges de Conquistas */
.achievements-container {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow-x: auto;
    animation: fadeInUp 0.6s ease;
}

.achievement-badge {
    min-width: 120px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-light), var(--glass-bg));
    border: 2px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.achievement-badge.locked {
    opacity: 0.4;
    filter: grayscale(1);
}

.achievement-badge.unlocked {
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-light);
    animation: achievementUnlock 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes achievementUnlock {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.achievement-badge:hover:not(.locked) {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px var(--accent-light);
}

.achievement-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.achievement-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-secondary);
    white-space: nowrap;
}

.achievement-tooltip {
    font-size: 0.7rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.3;
}

.achievement-badge.unlocked .achievement-name {
    color: var(--accent);
}

/* Tooltip de Conquista */
.achievement-badge .achievement-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.achievement-badge .achievement-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.achievement-badge:hover .achievement-tooltip {
    opacity: 1;
    bottom: calc(100% + 8px);
}

/* Barra de Nível do Jogador */
.player-level-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease;
}

.level-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 16px var(--accent-light);
    position: relative;
}

.level-badge::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.level-info {
    flex: 1;
}

.level-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.level-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.level-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--checkbox-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.level-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.level-xp {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Notificações Flutuantes */
.notification-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px var(--shadow);
    z-index: 10000;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-toast.success {
    border-left-color: #10b981;
}

.notification-toast.warning {
    border-left-color: #f59e0b;
}

.notification-toast.error {
    border-left-color: #ef4444;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contador de Streak Animado */
.streak-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-light), var(--glass-bg));
    border-radius: 20px;
    border: 2px solid var(--accent);
    animation: streakPulse 2s ease-in-out infinite;
}

@keyframes streakPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--accent-light);
    }
    50% {
        box-shadow: 0 0 0 8px transparent;
    }
}

.streak-flame {
    font-size: 1.25rem;
    animation: flameFlicker 1.5s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.streak-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.streak-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards com Efeito Holográfico */
.dashboard-card.holographic {
    background: linear-gradient(
        135deg,
        var(--glass-bg) 0%,
        var(--accent-light) 50%,
        var(--glass-bg) 100%
    );
    background-size: 200% 200%;
    animation: holographicShift 3s ease infinite;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Indicador de Atividade Recente */
.activity-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent);
    animation: activityPulse 2s ease-in-out infinite;
}

@keyframes activityPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--accent);
    }
    50% {
        box-shadow: 0 0 0 8px transparent;
    }
}

/* Efeito de Confete ao Completar */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    pointer-events: none;
    z-index: 9999;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Modo Compacto para Cards */
.compact-mode .dashboard-card {
    padding: 20px;
}

.compact-mode .card-icon {
    width: 48px;
    height: 48px;
}

.compact-mode .card-value {
    font-size: 2rem;
}

/* Tema Escuro Melhorado */
[data-theme="dark"] .achievement-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

[data-theme="dark"] .level-badge {
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

[data-theme="dark"] .notification-toast {
    background: rgba(26, 26, 26, 0.95);
}

/* Achievement Notification */
.achievement-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px var(--shadow), 0 0 20px var(--accent-light);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-notification.show {
    right: 20px;
}

.achievement-notification .notification-icon {
    font-size: 2.5rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.achievement-notification .notification-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.achievement-notification .notification-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsivo */
@media (max-width: 768px) {
    .streak-display {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }
    
    .streak-display::before {
        height: 3px;
    }

    .streak-icon {
        font-size: 2.2rem;
    }

    .streak-count {
        font-size: 1.6rem;
        line-height: 1;
    }
    
    .streak-title {
        font-size: 0.75rem;
    }
    
    .streak-subtitle {
        font-size: 0.7rem;
    }

    .streak-calendar {
        gap: 5px;
    }

    .streak-day {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    
    .streak-day-name {
        font-size: 0.6rem;
    }
    
    .streak-day-icon {
        font-size: 0.9rem;
    }

    .achievements-container {
        padding: 14px;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
    }
    
    .achievement-badge {
        min-width: 85px;
        padding: 12px 10px;
        border-radius: 12px;
    }
    
    .achievement-icon {
        font-size: 1.8rem;
    }

    .achievement-name {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .achievement-tooltip {
        font-size: 0.65rem;
    }
    
    .player-level-bar {
        padding: 14px 16px;
        flex-direction: row;
        text-align: left;
        border-radius: 14px;
    }
    
    .level-badge {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    
    .level-title {
        font-size: 0.75rem;
    }
    
    .level-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .level-progress-bar {
        height: 7px;
    }
    
    .level-xp {
        font-size: 0.7rem;
    }
    
    .notification-toast {
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 14px 16px;
        border-radius: 12px;
    }
    
    .notification-icon {
        font-size: 1.5rem;
    }
    
    .notification-title {
        font-size: 0.95rem;
    }
    
    .notification-message {
        font-size: 0.8rem;
    }

    .navbar {
        position: sticky;
        top: 10px;
        margin: 10px;
        padding: 16px 0;
        border-radius: 20px;
    }

    .navbar .container {
        gap: 16px;
        padding: 0 20px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .logo svg {
        width: 26px;
        height: 26px;
    }

    .theme-toggle {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--badge-bg);
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
        padding-bottom: 0;
        margin-top: 8px;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
    }

    .exercise-content {
        padding: 20px;
    }

    .exercise-number {
        font-size: 3.5rem;
        top: 16px;
        left: 16px;
        opacity: 0.06;
    }

    .exercise-header {
        margin-top: 40px;
        margin-bottom: 10px;
    }

    .exercise-header h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .exercise-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .exercise-meta {
        margin-bottom: 14px;
        gap: 8px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 0.65rem;
        border-radius: 8px;
    }

    .duration {
        font-size: 0.85rem;
    }

    .btn-start {
        padding: 14px;
        font-size: 0.95rem;
        border-radius: 12px;
        margin-top: 16px;
    }

    .profile-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-info {
        padding: 20px;
        border-radius: 16px;
    }

    .profile-avatar-large {
        width: 90px;
        height: 90px;
        border-radius: 18px;
        margin-bottom: 16px;
    }

    .btn-edit {
        position: static;
        width: 100%;
        margin-top: 12px;
        justify-content: center;
        padding: 12px;
        font-size: 0.9rem;
    }

    .profile-details {
        gap: 12px;
    }

    .detail-item {
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .training-history {
        padding: 20px;
        border-radius: 16px;
    }

    .training-history h3 {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .history-item {
        padding: 14px;
        border-radius: 10px;
    }
    
    .history-date {
        font-size: 0.8rem;
    }
    
    .history-exercises {
        font-size: 0.9rem;
    }
    
    .history-time {
        font-size: 0.8rem;
    }

    .evolution-chart {
        padding: 20px;
        border-radius: 16px;
    }

    .evolution-chart h3 {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }
    
    .evolution-chart canvas {
        height: 220px !important;
    }

    .calendar-container {
        grid-template-columns: 1fr;
        gap: 16px;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .calendar-header {
        padding: 16px 20px;
        border-radius: 14px;
    }

    .calendar-header h3 {
        font-size: 1.15rem;
    }

    .calendar-nav {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .events-panel {
        padding: 20px;
        border-radius: 16px;
    }

    .events-header {
        margin-bottom: 16px;
    }

    .events-header h3 {
        font-size: 1.1rem;
    }

    .btn-add-event {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .event-item {
        padding: 14px;
        border-radius: 10px;
        border-left-width: 4px;
    }
    
    .event-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .event-time {
        font-size: 0.8rem;
    }
    
    .event-type {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .album-card {
        height: 240px;
        border-radius: 16px;
    }

    .album-info {
        padding: 16px;
    }

    .album-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .album-meta {
        font-size: 0.8rem;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .player-card {
        padding: 20px;
        border-radius: 16px;
    }

    .player-card-header {
        gap: 14px;
        margin-bottom: 16px;
    }

    .player-avatar-card {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .player-card-info h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }
    
    .player-card-position {
        font-size: 0.85rem;
    }

    .player-card-details {
        gap: 8px;
        margin-bottom: 16px;
    }

    .player-detail-row {
        padding: 8px 0;
    }
    
    .player-detail-label {
        font-size: 0.75rem;
    }
    
    .player-detail-value {
        font-size: 0.9rem;
    }

    .player-card-actions {
        gap: 10px;
    }

    .btn-edit-player,
    .btn-delete-player {
        padding: 12px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
    }

    .modal-header {
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .modal-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        border-radius: 10px;
    }

    .modal-body {
        padding: 20px;
    }

    .timer-display {
        margin-bottom: 24px;
    }

    .timer-display span {
        font-size: 3.5rem;
    }

    .timer-controls {
        gap: 10px;
        margin-bottom: 24px;
    }

    .btn-control {
        flex: 1;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .execution-tracker {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .execution-tracker h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .counter {
        gap: 12px;
    }

    .counter-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        border-radius: 10px;
    }

    .counter input {
        width: 100px;
        font-size: 1.4rem;
        padding: 10px;
        border-radius: 10px;
    }

    .execution-notes textarea {
        min-height: 100px;
        font-size: 0.95rem;
        padding: 12px;
        border-radius: 10px;
    }

    .btn-complete {
        padding: 16px;
        font-size: 1rem;
        border-radius: 12px;
    }

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 10px;
    }

    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
    }

    .admin-tab {
        padding: 12px 20px;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-header h3 {
        font-size: 1.15rem;
    }

    .gender-filter {
        width: 100%;
        justify-content: space-between;
    }

    .filter-btn {
        flex: 1;
        padding: 10px;
        font-size: 0.8rem;
    }

    .btn-admin {
        padding: 14px;
        font-size: 0.95rem;
    }

    .settings-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .settings-tab {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .settings-card {
        padding: 20px;
        border-radius: 16px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .settings-card h3 {
        font-size: 1.15rem;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 0;
    }

    .theme-options {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: clamp(6px, 2vw, 10px);
    }

    .theme-option {
        width: 100%;
        aspect-ratio: 1;
        height: auto;
        border-radius: clamp(10px, 3vw, 14px);
    }

    .btn-danger {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    /* Espaçamento global */
    main {
        padding-top: 16px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .section-page {
        padding-bottom: 32px;
    }
    
    /* Player gallery */
    .player-gallery {
        padding: 20px;
        border-radius: 16px;
    }
    
    .player-photos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Melhorias de toque */
    * {
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }
    
    .glass {
        max-width: 100%;
        overflow-x: hidden;
    }

    button,
    a,
    .nav-link,
    .calendar-day,
    .exercise-card,
    .player-card,
    .album-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Scroll suave */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Botões maiores para toque */
    .btn-start,
    .btn-complete,
    .btn-control,
    .btn-admin,
    .btn-add-event,
    .btn-add-photo {
        min-height: 48px;
    }
    
    /* Feedback visual */
    .dashboard-card:active,
    .exercise-card:active,
    .player-card:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .dashboard-grid {
        gap: 10px;
    }
    
    .dashboard-card {
        padding: 16px;
    }
    
    .card-value {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 24px 16px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .stats {
        gap: 8px;
    }
    
    .stat-item {
        padding: 14px;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .player-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        padding: 0.8vw;
        gap: 0.4vw;
    }
    
    .calendar-day {
        font-size: clamp(0.55rem, 1.8vw, 0.7rem);
        padding: 0.8vw 0.4vw;
        min-height: clamp(24px, 7vw, 30px);
    }
    
    .calendar-day-header {
        font-size: clamp(0.5rem, 1.6vw, 0.6rem);
        padding: clamp(3px, 1.2vw, 5px) 0.4vw;
    }
    
    .theme-options {
        gap: clamp(4px, 1.5vw, 8px);
    }
}


/* ========================================
   MELHORIAS MOBILE ADICIONAIS
   ======================================== */

/* Otimizações de Performance Mobile */
@media (max-width: 768px) {
    /* Reduzir animações pesadas em mobile */
    .particle {
        display: none;
    }
    
    body::after {
        animation: none;
    }
    
    /* Melhorar scroll em iOS */
    .nav-links,
    .history-list,
    .events-list,
    .achievements-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Espaçamento confortável para dedos */
    .nav-link,
    .btn-start,
    .btn-complete,
    .calendar-day,
    .theme-toggle,
    .mobile-menu-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Cards mais espaçados */
    .dashboard-card,
    .exercise-card,
    .player-card {
        margin-bottom: 4px;
    }
    
    /* Texto mais legível */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Melhor contraste em telas pequenas */
    .text-secondary {
        opacity: 0.9;
    }
    
    /* Botões flutuantes para ações rápidas */
    .floating-action-btn {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--accent-hover));
        color: white;
        border: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .floating-action-btn:active {
        transform: scale(0.95);
    }
    
    /* Melhor visualização de modais */
    .modal {
        padding: 0;
    }
    
    .modal-content {
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }
    
    /* Indicador de scroll */
    .scroll-indicator {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 16px;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--text-secondary);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 99;
    }
    
    .scroll-indicator.show {
        opacity: 1;
    }
    
    /* Melhor feedback visual ao tocar */
    .nav-link:active,
    .btn-start:active,
    .btn-complete:active,
    .exercise-card:active,
    .player-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Swipe indicators */
    .swipeable {
        position: relative;
    }
    
    .swipeable::after {
        content: '⟨';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-secondary);
        opacity: 0.3;
        font-size: 1.5rem;
    }
    
    /* Pull to refresh indicator */
    .pull-to-refresh {
        position: fixed;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: top 0.3s ease;
        z-index: 1001;
    }
    
    .pull-to-refresh.active {
        top: 20px;
    }
    
    /* Melhor espaçamento entre seções */
    .section-page > * + * {
        margin-top: 24px;
    }
    
    /* Cards com sombra mais suave */
    .glass {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    }
    
    /* Navbar fixa com blur */
    .navbar {
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }
    
    /* Melhor visualização de badges */
    .badge {
        padding: 6px 14px;
        font-size: 0.7rem;
    }
    
    /* Inputs maiores para facilitar digitação */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px !important; /* Previne zoom no iOS */
        min-height: 48px;
    }
    
    /* Melhor visualização de listas */
    .history-item,
    .event-item,
    .player-detail-row {
        min-height: 56px;
        display: flex;
        align-items: center;
    }
    
    /* Scroll horizontal suave */
    .achievements-container,
    .streak-calendar,
    .admin-tabs,
    .settings-tabs {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .achievements-container::-webkit-scrollbar,
    .streak-calendar::-webkit-scrollbar,
    .admin-tabs::-webkit-scrollbar,
    .settings-tabs::-webkit-scrollbar {
        display: none;
    }
    
    /* Indicador de mais conteúdo */
    .achievements-container::after,
    .streak-calendar::after {
        content: '→';
        position: sticky;
        right: 0;
        padding: 0 12px;
        background: linear-gradient(90deg, transparent, var(--bg-primary));
        color: var(--text-secondary);
        font-size: 1.5rem;
        display: flex;
        align-items: center;
    }
    
    /* Melhor contraste para modo escuro */
    [data-theme="dark"] .glass {
        background: rgba(255, 255, 255, 0.08);
    }
    
    [data-theme="dark"] .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    
    /* Animações mais rápidas em mobile */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Melhor visualização de progresso */
    .progress-ring {
        width: 160px !important;
        height: 160px !important;
    }
    
    /* Espaçamento inferior para evitar sobreposição */
    main {
        padding-bottom: 40px;
    }
    
    /* Melhor visualização de fotos */
    .player-photos-grid,
    .photos-grid {
        gap: 12px;
    }
    
    .player-photo-item,
    .photo-item {
        border-radius: 12px;
    }
    
    /* Botão de voltar ao topo */
    .back-to-top {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--accent);
        color: white;
        border: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 100;
    }
    
    .back-to-top.show {
        opacity: 1;
        pointer-events: all;
    }
    
    .back-to-top:active {
        transform: scale(0.95);
    }
    
    /* Melhor feedback em checkboxes */
    .checkbox-container,
    .toggle-switch {
        transform: scale(1.1);
    }
    
    /* Espaçamento confortável em formulários */
    .form-group + .form-group {
        margin-top: 20px;
    }
    
    /* Melhor visualização de calendário */
    .calendar-grid {
        gap: 6px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Otimização de imagens */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Melhor visualização de skills */
    .skill-bar {
        margin-bottom: 24px;
    }
    
    .skill-progress {
        height: 10px;
    }
    
    /* Cards com cantos mais arredondados */
    .glass {
        border-radius: 20px;
    }
    
    /* Melhor visualização de estatísticas */
    .overview-stats {
        gap: 12px;
    }
    
    .overview-item {
        padding: 20px;
    }
    
    /* Transições suaves */
    .section-page {
        transition: opacity 0.3s ease;
    }
    
    .section-page:not(.active) {
        opacity: 0;
        pointer-events: none;
    }
    
    /* Melhor visualização de eventos */
    .event-item {
        padding: 18px;
        border-left-width: 5px;
    }
    
    /* Otimização de fontes */
    body {
        font-smooth: always;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        margin: 8px;
    }
    
    .dashboard-card,
    .exercise-card,
    .player-card {
        padding: 20px;
    }
    
    .card-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 16px 20px;
        min-width: 90px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
}

/* Landscape mode em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .navbar {
        padding: 12px 0;
    }
    
    .hero {
        padding: 24px 20px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .modal-content {
        max-height: 88vh;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .player-photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Suporte para notch em iPhones */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .navbar {
            padding-top: max(16px, env(safe-area-inset-top));
        }
        
        main {
            padding-bottom: max(40px, env(safe-area-inset-bottom));
        }
        
        .floating-action-btn,
        .back-to-top {
            bottom: max(24px, calc(env(safe-area-inset-bottom) + 8px));
        }
    }
}


/* Modal/Overlay global */
.lions-modal-overlay {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  -webkit-overflow-scrolling: touch;
}

.lions-modal {
  background: #fff;
  color: #000;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  padding: 16px;
  position: relative;
}

.lions-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

body.lions-modal-open {
  overflow: hidden !important;
}
