:root {
    /* Color Palette - Volcanic Fire Theme */
    --bg-dark: #080808;
    --bg-card: #141111;
    --bg-card-hover: #1f1a1a;
    
    --primary: #ffd60a; /* vivid yellow */
    --primary-hover: #ffec19;
    --secondary: #d90429; /* deep red */
    
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    
    --accent: #ef233c;
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Effects */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(255, 214, 10, 0.15);
}

@font-face {
    font-family: 'DCC Sharp';
    src: url('./dcc_sharp.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes intenseGlow {
    0% { 
        text-shadow: 0 0 10px var(--primary), 0 0 20px rgba(255, 214, 10, 0.4), 4px 4px 0px #000; 
        transform: scale(1); 
    }
    50% { 
        text-shadow: 0 0 25px var(--primary), 0 0 45px #fff, 6px 6px 0px #000; 
        transform: scale(1.03); 
    }
    100% { 
        text-shadow: 0 0 10px var(--primary), 0 0 20px rgba(255, 214, 10, 0.4), 4px 4px 0px #000; 
        transform: scale(1); 
    }
}

#hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none;
}

.logo-text-block-hover { 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer; 
    perspective: 1000px;
    display: inline-block;
    padding: 20px;
    margin: -20px;
}

.logo-text-block-hover:hover {
    transform: scale(1.08) rotateX(8deg) rotateY(-8deg);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.logo-text-block-hover:hover .text-trail {
    animation: intenseGlow 2s infinite alternate ease-in-out;
    color: #fff !important;
}

.logo-text-block-hover:hover .text-running {
    animation: intenseGlow 1.5s infinite alternate ease-in-out;
    filter: brightness(1.2) contrast(1.2);
}


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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0.85)), url('fundo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary);
}

/* --- Sub-Components --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 214, 10, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 10, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--countdown-height, 0px);
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0;
    background: rgba(8, 8, 8, 0.95);
}

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

/* --- Lightbox Modal --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-skull {
    width: 36px;
    height: 42px;
    object-fit: contain;
    margin-right: -2px;
    margin-bottom: -4px;
    filter: drop-shadow(0 0 5px rgba(255, 214, 10, 0.4));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all var(--transition-fast);
}

/* Main Content Area */
main {
    min-height: 80vh;
    padding-top: 80px; /* Offset for fixed navbar */
}

/* Sections Base */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    animation: fadeIn var(--transition-smooth) forwards;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000 url('fundo.png') center/cover no-repeat;
    margin-top: -80px; /* pull up under navbar */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(8,8,8,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Custom Text Logo matching Image */
.hero-custom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
    user-select: none;
}

.logo-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skull-svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 15px rgba(255, 214, 10, 0.4));
    transform: rotate(-5deg);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 0.8;
    transform: rotate(-3deg);
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.9));
    position: relative;
    padding-bottom: 2rem;
    margin-top: 7rem; /* Shifted down more */
}

.text-trail {
    font-family: 'Road Rage', sans-serif !important;
    font-size: clamp(2rem, 12vw, 11rem) !important;
    color: #ffffff !important;
    letter-spacing: -3px;
    text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
    z-index: 1;
    position: relative;
    margin-bottom: clamp(-15px, -6vw, -70px);
    text-transform: uppercase;
    display: block;
    transform: rotate(-2deg);
    transition: all 0.4s ease;
}

.text-running {
    font-family: 'Road Rage', sans-serif !important;
    font-size: clamp(2rem, 12vw, 11rem) !important;
    color: #ffd60a !important;
    letter-spacing: -3px;
    text-shadow: 4px 4px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 0 8px 15px rgba(0,0,0,0.6);
    z-index: 10;
    position: relative;
    display: block;
    text-transform: uppercase;
    transform: rotate(-3deg);
    line-height: 1;
    transition: all 0.4s ease;
}

.text-insano {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.8rem, 10vw, 7rem);
    color: var(--primary);
    margin-top: clamp(-15px, -5vw, -45px);
    margin-left: clamp(10px, 8vw, 80px);
    text-shadow: 3px 3px 0px #080808, 0 0 20px rgba(255, 214, 10, 0.3);
    transform: rotate(-6deg);
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e9ecef;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Dual Layout (Home) --- */
.home-dual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 3rem;
    align-items: flex-start;
}

.column-section {
    min-width: 0;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.column-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.upload-mini-label {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-mini-label:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.challenges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .home-dual-layout {
        grid-template-columns: 1fr 1fr;
    }
    .sidebar-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .home-dual-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-section {
        grid-column: span 1;
    }
}

.challenge-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 214, 10, 0.3);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.diff-hard { background: rgba(255, 107, 107, 0.9); color: #fff; }
.diff-med { background: rgba(252, 196, 25, 0.9); color: #000; }
.diff-easy { background: rgba(81, 207, 102, 0.9); color: #000; }

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-content .date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.w-100 { width: 100%; }
.mt-4 { margin-top: 1.5rem; }

/* --- Gallery Grid & Upload --- */
.upload-area {
    text-align: center;
    margin-bottom: 3rem;
}

.upload-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.upload-hint {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 220px));
    gap: 1.2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.delete-photo-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(217, 4, 41, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    z-index: 10;
}

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

.delete-photo-btn:hover {
    background: #ff1e3f;
    transform: scale(1.1) !important;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* --- Ranking Section --- */
.ranking-container {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.ranking-header {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 1fr;
    padding: 1.5rem 2rem;
    background: rgba(0,0,0,0.2);
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 1fr;
    padding: 1.5rem 2rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.ranking-item:hover {
    background: var(--bg-card-hover);
}

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

.pos {
    font-size: 1.5rem;
    font-weight: 800;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.level { color: var(--text-muted); }
.kms { font-weight: 800; color: var(--primary); }

.top-1 { background: rgba(255, 214, 10, 0.05); }

/* --- Profile Section --- */
.profile-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-glow);
}

.profile-sidebar h3 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.profile-sidebar .title { color: var(--primary); font-weight: 600; margin-bottom: 2rem; }

.stats-box {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
}

.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-top: 0.5rem; }

.profile-main {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.profile-main h3 { margin-bottom: 2rem; font-size: 1.5rem; }


/* --- Forms --- */
.form-section {
    max-width: 800px;
}
.form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* --- Challenge Showcase on Inscription --- */
.challenge-showcase {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 214, 10, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: fadeInUp 0.5s ease forwards;
}

.showcase-flyer {
    width: 250px;
    height: 350px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.showcase-info {
    flex: 1;
    text-align: left;
}

.showcase-title {
    font-family: 'DCC Sharp', sans-serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.showcase-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.showcase-token {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: #fff;
}

.showcase-token i { color: var(--primary); font-style: normal; }

.showcase-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.2rem 0;
}

@media (max-width: 768px) {
    .challenge-showcase {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }
    .showcase-flyer {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    .showcase-info {
        text-align: center;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e9ecef;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd60a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select.form-control option {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 2rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label { margin-bottom: 0; font-weight: 400; color: var(--text-muted); }

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

/* Admin Dashboard Styles */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.admin-tabs .btn {
    flex-shrink: 0;
    min-width: fit-content;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.admin-tabs .btn.active {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: rgba(255, 214, 10, 0.08);
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.1);
}

.admin-tab-content {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.admin-tab-content.active {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
}

#cms-items-list > div {
    transition: all 0.3s ease;
}

#cms-items-list > div:hover {
    background: rgba(255,255,255,0.05) !important;
    transform: translateX(5px);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.admin-table-wrapper {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    padding: 1rem;
}

table {
    border-collapse: collapse;
}

th, td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.admin-table-wrapper table thead th {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2.5rem;
        display: flex;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { 
        right: 0; 
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-container { padding: 1.2rem 1rem; }
    .nav-skull { width: 28px; height: 32px; }
    .logo { font-size: 1.1rem; }

    .logo-text-block-hover { padding: 0; margin: 0; overflow: hidden; }
    .section-container { padding: 3rem 1rem; }

    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; gap: 0.8rem; }
    .hero-cta .btn { width: 100%; padding: 0.7rem; font-size: 0.9rem; }
    
    .profile-layout { grid-template-columns: 1fr; }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 40px 1fr 1fr;
        font-size: 0.9rem;
    }
    .ranking-header span:nth-child(3), .ranking-item .level { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ─── Carousel ───────────────────────────────────────────────────────────── */
.carousel-viewport {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track .challenge-card {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-nav {
    display: flex;
    gap: 0.5rem;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* ─── Countdown Bar ──────────────────────────────────────────────────────── */
#countdown-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #ffd60a;
    color: #000;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.countdown-digits {
    font-family: 'Bebas Neue', monospace;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #000;
    font-weight: 800;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* --- Photographer Sidebar --- */
.sidebar-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.photog-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    margin-bottom: 0.8rem;
    position: relative;
    overflow: hidden;
}

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

.photog-card:hover::before {
    left: 100%;
}

.photog-card:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 214, 10, 0.1);
}

.photog-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s;
}

.photog-card:hover .photog-avatar {
    border-color: var(--primary);
}

.photog-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #f8f9fa !important; /* Force off-white */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photog-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.photog-info .buy-cta {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-mini-label {
    background: var(--primary);
    border: 3px solid var(--bg-main);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.upload-mini-label:hover {
    transform: scale(1.1);
    background: #ffc900;
}

/* ─── Client Login Wall ──────────────────────────────────────────────────── */
.login-wall-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 0, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-wall-box {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 60px rgba(255,51,0,0.2);
    animation: fadeInUp 0.4s ease;
}

@media (max-width: 480px) {
    .login-wall-box {
        padding: 1.5rem;
        border-radius: 14px;
    }
}

/* ─── Murais (Albums) ─────────────────────────────────────────────────── */
.mural-card {
    cursor: pointer;
    border-radius: 8px; /* Sharper corners for aggressive look */
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
    aspect-ratio: 1/1; /* Modern square look */
    border: 1px solid var(--border-color);
}

.mural-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 214, 10, 0.4);
    border-color: var(--primary);
    z-index: 5;
}

.mural-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.8s ease;
}

.mural-card:hover .mural-cover {
    transform: scale(1.1);
}

.mural-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.95) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.mural-overlay h3 {
    margin: 0;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-family: 'DCC Sharp', sans-serif !important;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    line-height: 1.1;
    letter-spacing: 1px;
}

.mural-overlay span {
    font-size: 0.7rem;
    color: var(--bg-dark);
    background: var(--primary);
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 2px;
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.mural-card:hover .mural-overlay span {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary);
}


.video-item {
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ─── Animated Background (Skull with Fire) ──────────────────────────────── */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: #000;
}

.bg-skull {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('skull-bg.png') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    animation: skullFloat 6s ease-in-out infinite;
}

.bg-fire {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(255, 68, 0, 0.4), transparent 70%);
    mix-blend-mode: screen;
    animation: fireFlicker 3s ease-in-out infinite;
}

@keyframes skullFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.05); }
}

@keyframes fireFlicker {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 0.7; transform: scaleY(1.2); }
}

/* ─── Updated Registration Styles ────────────────────────────────────────── */
/* End of file */

/* ─── FAQ FLOATING BALLOON ───────────────────────────────────────────────── */
.faq-floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 75px;
    height: 75px;
    background: #000;
    color: var(--primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-family: "Bebas Neue", sans-serif;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.3), inset 0 0 15px rgba(255, 214, 10, 0.2);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: faq-float 3s ease-in-out infinite, faq-glow 2s ease-in-out infinite alternate;
}

.faq-floating-btn:hover {
    transform: scale(1.15) rotate(-10deg);
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 40px var(--primary);
}

.faq-floating-btn .btn-text {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: var(--primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.faq-floating-btn .btn-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--primary);
}

.faq-floating-btn:hover .btn-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.faq-popover {
    position: fixed;
    bottom: 130px;
    right: 40px;
    width: min(400px, 90vw);
    max-height: 80vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--primary);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    z-index: 10000;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 2rem;
}

.faq-popover.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.faq-popover h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 1px;
}

.faq-item {
 margin-bottom: 1.5rem;
 border-bottom: 1px solid rgba(255,255,255,0.05);
 padding-bottom: 1rem;
}

.faq-question {
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 0.5rem;
 cursor: pointer;
 display: flex;
 align-items: center;
 gap: 8px;
}

.faq-answer {
 font-size: 0.9rem;
 color: #adb5bd;
 line-height: 1.5;
}

@keyframes faq-pulse {
 0% { box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.7); }
 70% { box-shadow: 0 0 0 15px rgba(255, 214, 10, 0); }
 100% { box-shadow: 0 0 0 0 rgba(255, 214, 10, 0); }
}

/* --- STORE GLASS VITRINE -------------------------------------------------- */
.store-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.store-card-glass::before {
    content: "";
 position: absolute;
 top: -50%;
 left: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(255,214,10,0.05) 0%, transparent 70%);
 opacity: 0;
 transition: opacity 0.4s ease;
 pointer-events: none;
}

.store-card-glass:hover {
 transform: translateY(-10px);
 border-color: var(--primary);
 box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(255,214,10,0.1);
}

.store-card-glass:hover::before {
 opacity: 1;
}

.store-product-img {
 width: 100%;
 aspect-ratio: 1;
 object-fit: contain;
 filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
 transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-card-glass:hover .store-product-img {
 transform: scale(1.1) translateY(-5px);
 filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

.store-card-glass .btn {
    position: relative;
    z-index: 10;
}

/* --- AVAILABILITY BADGES -------------------------------------------------- */
.store-availability-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.badge-ready {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3) !important;
}

.badge-order {
    background: rgba(255, 214, 10, 0.15);
    color: var(--primary);
    border-color: rgba(255, 214, 10, 0.3) !important;
}

/* --- INSTAGRAM FLOATING BUTTON -------------------------------------------- */
.instagram-floating-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 65px;
    height: 65px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fff;
}

.instagram-floating-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(220, 39, 67, 0.6);
}

.instagram-floating-btn .btn-text {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(-20px);
    background: #fff;
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.instagram-floating-btn .btn-text::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
}

.instagram-floating-btn:hover .btn-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .instagram-floating-btn {
        width: 55px;
        height: 55px;
        bottom: 25px;
        left: 20px;
    }
    .faq-floating-btn {
        width: 65px;
        height: 65px;
        bottom: 25px;
        right: 20px;
    }
}

/* --- MAINTENANCE PAGE ENHANCEMENTS --- */
body.maintenance-mode .navbar,
body.maintenance-mode .footer,
body.maintenance-mode #countdown-bar,
body.maintenance-mode .faq-floating-btn {
    display: none !important;
}

.maintenance-container {
    background: radial-gradient(circle at center, #1a0202 0%, #000 70%) !important;
    z-index: 99999 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.skull-neon-wrapper {
    position: relative;
    width: clamp(150px, 30vw, 250px);
    height: clamp(150px, 30vw, 250px);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-aura {
    position: absolute;
    width: 60%;
    height: 60%;
    background: #ffd60a; /* Amarelo Insanos */
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
    box-shadow: 0 0 80px #ffd60a, 0 0 120px rgba(255, 214, 10, 0.5);
    animation: neonBreath 3s infinite ease-in-out;
    z-index: 1;
}

.floating-skull {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: floatSkull 4s infinite ease-in-out;
    filter: drop-shadow(0 0 15px rgba(255, 214, 10, 0.3));
}

@keyframes floatSkull {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

@keyframes neonBreath {
    0%, 100% { opacity: 0.4; transform: scale(1); filter: blur(50px); }
    50% { opacity: 0.8; transform: scale(1.3); filter: blur(70px); }
}

.maintenance-title-giant {
    font-family: 'Road Rage', cursive !important;
    font-size: clamp(2rem, 8vw, 5.5rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(255, 214, 10, 0.4);
    letter-spacing: 2px;
}

.maintenance-subtitle-premium {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 3vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.3);
}

/* --- ADMIN SWITCH TOGGLE --- */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #222;
  transition: .4s;
  border: 2px solid #444;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

input:checked + .slider {
  background-color: var(--primary);
  border-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ─── ATHLETE PROFILE (MEU PERFIL) ─── */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.profile-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.profile-card.confirmed {
    border-left-color: #00ff88;
}

.profile-card.pending {
    border-left-color: var(--primary);
}

.profile-info {
    flex: 1;
}

.profile-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.status-pago {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.status-pendente {
    background: rgba(255, 214, 10, 0.15);
    color: var(--primary);
}

.profile-qr {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,255,136,0.2);
}

.profile-qr img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .profile-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .profile-qr {
        align-self: center;
        width: 160px;
        height: 160px;
    }
}
/* ─── DIGITAL WALLET (CARTEIRA DIGITAL) ────────────────────────────────── */
.digital-wallet-container {
    margin-bottom: 3rem;
    perspective: 1000px;
}

.digital-wallet-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(10, 10, 10, 1));
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 214, 10, 0.1);
    font-family: var(--font-sans);
    color: #fff;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.digital-wallet-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    border-color: var(--primary);
}

.wallet-header {
    background: linear-gradient(90deg, #ffd60a 0%, #ffc107 100%);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.wallet-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'DCC Sharp', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.wallet-logo img {
    height: 30px;
}

.wallet-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-size: 1.3rem;
    opacity: 0.8;
}

.wallet-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.wallet-photo-container {
    position: relative;
}

.wallet-photo {
    width: 140px;
    height: 175px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    background: #000;
}

.wallet-chip {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37, #f9f295, #b8860b);
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.wallet-field {
    display: flex;
    flex-direction: column;
}

.field-label {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.field-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
}

.wallet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wallet-footer {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-qr-mini {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    width: 60px;
    height: 60px;
}

.wallet-id {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.wallet-stamp {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-15deg);
    opacity: 0.03;
    width: 250px;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 480px) {
    .wallet-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wallet-photo-container {
        margin: 0 auto;
    }
    .wallet-row {
        justify-content: center;
    }
    .wallet-info {
        align-items: center;
    }
}
/* ─── PRINT STYLES ─────────────────────────────────────────────────────── */
@media print {
    /* Hide everything except the wallet */
    body * {
        visibility: hidden;
    }
    .digital-wallet-container, .digital-wallet-container * {
        visibility: visible;
    }
    .digital-wallet-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .digital-wallet-card {
        border-color: #000 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .wallet-actions {
        display: none !important;
    }
    
    /* Clean up for printing */
    .navbar, .footer, #profile-search-section, .athlete-dashboard, h2, .section-subtitle, .faq-floating-btn {
        display: none !important;
    }
    
    @page {
        margin: 0.5cm;
        size: auto;
    }
}
