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

@font-face {
    font-family: 'Vision Heavy';
    src: url('font/WEBFONT/woff2/vision-heavy-webfont.woff2') format('woff2'),
         url('font/Vision-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Vision';
    src: url('font/WEBFONT/woff2/vision-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Vision';
    src: url('font/WEBFONT/woff2/vision-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Vision', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: linear-gradient(315deg, #07039D 0%, #592DCC 100%);
    color: white;
    height: 100vh;
    position: relative;
    --bg-image: url('/img/bg.png');
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transition: background-image 0.6s ease-in-out;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide.exit-left {
    animation: slideOutLeft 0.6s ease-in-out forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-100%) scale(0.8);
    }
}

/* Username Display */
.username-display {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    animation: fadeInRight 0.6s ease-out;
}

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

.content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
}

/* Intro Screen */
.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.year {
    font-size: 2.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.start-btn {
    background: #FFCC00;
    color: #07039D;
    border: none;
    padding: 18px 60px;
    font-size: 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.5);
}

/* Username form */
#username-form {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.username-input {
    padding: 14px 18px;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    min-width: 220px;
    max-width: 320px;
    outline: none;
}

.username-input::placeholder {
    color: rgba(0,0,0,0.45);
}

/* Database status */
.db-status {
    margin-top: 20px;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    max-height: 300px;
    overflow-y: auto;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.db-connected {
    background-color: rgba(72, 187, 120, 0.2);
    color: #90EE90;
    border: 1px solid rgba(72, 187, 120, 0.4);
}

.db-error {
    background-color: rgba(245, 101, 101, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(245, 101, 101, 0.4);
}

/* Stats */
.stat-label {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 20px;
    opacity: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.5rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.big-number {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    margin: 30px 0;
    animation: scaleIn 0.6s ease-out 0.3s both;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-description {
    font-size: 2rem;
    opacity: 0.85;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    position: relative;
    padding: 20px;
}

.stat-description strong {
    color: #FFCC00;
    font-size: 1.2em;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.stat-description-sm {
    font-size: 1.5rem;
    opacity: 0.85;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    padding: 1em;
}

/* Show slide specific spacing */
.show-hours {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 10px 20px;
}

.show-label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 5px 20px;
    font-size: 1.5rem;
}

.show-count {
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 5px 20px;
    font-size: 1.5rem;
}

/* Decorative elements for text slides */
.slide-decoration {
    font-size: 5rem;
    opacity: 0.15;
    position: absolute;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.slide-decoration.top-left {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.slide-decoration.top-right {
    top: 10%;
    right: 10%;
    animation-delay: 2s;
}

.slide-decoration.bottom-left {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.slide-decoration.bottom-right {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

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

.list-stats {
    font-size: 1.8rem;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    text-align: left;
    list-style: none;
    counter-reset: list-counter;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
}

.list-stats li {
    counter-increment: list-counter;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.list-stats li:nth-child(1) { animation-delay: 0.6s; }
.list-stats li:nth-child(2) { animation-delay: 0.7s; }
.list-stats li:nth-child(3) { animation-delay: 0.8s; }
.list-stats li:nth-child(4) { animation-delay: 0.9s; }
.list-stats li:nth-child(5) { animation-delay: 1s; }
.list-stats li:nth-child(6) { animation-delay: 1.1s; }
.list-stats li:nth-child(7) { animation-delay: 1.2s; }
.list-stats li:nth-child(8) { animation-delay: 1.3s; }
.list-stats li:nth-child(9) { animation-delay: 1.4s; }
.list-stats li:nth-child(10) { animation-delay: 1.5s; }

.list-stats li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
    border-color: rgba(255, 204, 0, 0.5);
}

.list-stats li::before {
    content: counter(list-counter);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 1.2rem;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.list-stats li.no-counter::before {
    content: '';
    font-size: 0;
}

.park-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.park-name-text {
    flex: 1;
    font-weight: 700;
}

.park-hours {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

/* Rides List - Compact styling for slide 4 */
#rides-list {
    font-size: 1.2rem;
    max-width: 850px;
}

#rides-list li {
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.6rem;
    min-height: 50px;
    align-items: center;
}

#rides-list li::before {
    font-size: 1.5rem;
    min-width: 35px;
    margin-right: 0.7rem;
}

.ride-name-text {
    flex: 1;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    margin-right: 1rem;
}

.ride-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ride Buddies List - Similar to parks list */
.buddy-name {
    flex: 1;
    font-weight: 700;
}

.buddy-count {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.comparison {
    margin-top: 30px;
    font-size: 1.2rem;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

/* Park Image */
.park-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin: 2rem auto 0 auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

/* Attraction Name */
.attraction-name {
    font-size: 4rem;
    font-weight: 700;
    margin: 30px 0 0 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    background: linear-gradient(120deg, #FFCC00, #fff, #FFCC00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease-out 0.3s both, shimmer 3s ease-in-out infinite;
}

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

/* Season */
.season {
    font-size: 5rem;
    font-weight: 700;
    margin: 30px 0;
    animation: scaleIn 0.6s ease-out 0.3s both;
}

/* Activities */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 40px;
    border-radius: 20px;
    font-size: 1.5rem;
    animation: slideInRight 0.5s ease-out both;
}

.activity-item:nth-child(1) { animation-delay: 0.2s; }
.activity-item:nth-child(2) { animation-delay: 0.4s; }
.activity-item:nth-child(3) { animation-delay: 0.6s; }

.activity-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}

.activity-name {
    flex: 1;
    text-align: left;
}

.activity-count {
    font-weight: 700;
}

/* Wildlife */
.wildlife-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.wildlife-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: scaleIn 0.5s ease-out both;
}

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

.wildlife-icon {
    font-size: 4rem;
}

.wildlife-count {
    font-size: 2rem;
    font-weight: 700;
}

/* Badge */
.badge {
    margin: 40px 0;
    animation: scaleIn 0.6s ease-out 0.3s both;
}

.badge-icon {
    font-size: 6rem;
    margin-bottom: 20px;
}

.badge-name {
    font-size: 3rem;
    font-weight: 700;
}

/* Final Screen */
.final-message {
    font-size: 1.8rem;
    margin: 30px 0 50px;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.share-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    margin-bottom: 80px;
}

.share-btn,
.restart-btn {
    background: #FFCC00;
    color: #07039D;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.restart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid #FFCC00;
}

.share-btn:hover,
.restart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.5);
}

/* Navigation */
.nav-dots {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: #FFCC00;
    width: 30px;
    border-radius: 6px;
}

.next-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.next-btn:hover {
    background: #FFCC00;
    color: #07039D;
    transform: scale(1.1);
}

.mainLogo {
    width: 300px;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .year {
        font-size: 1.8rem;
    }
    
    .big-number {
        font-size: 5rem;
    }
    
    .stat-label {
        font-size: 1.5rem;
    }
    
    .park-name {
        font-size: 2.5rem;
    }
    
    .season {
        font-size: 3rem;
    }
    
    .activity-item {
        padding: 20px 25px;
        font-size: 1.2rem;
    }
    
    .wildlife-icon {
        font-size: 3rem;
    }
    
    .badge-icon {
        font-size: 4rem;
    }
    
    .badge-name {
        font-size: 2rem;
    }
    
    .share-section {
        flex-direction: column;
    }
    
    /* Mobile adjustments for rides list */
    #rides-list {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    #rides-list li {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }
    
    #rides-list li::before {
        font-size: 1.3rem;
        min-width: 30px;
        margin-right: 0.5rem;
    }
    
    .ride-name-text {
        flex-basis: 60%;
        margin-right: 0.5rem;
        font-size: 0.95rem;
    }
    
    .ride-count {
        font-size: 0.9rem;
        padding-left: 0.5rem;
        flex-basis: auto;
    }
    
    .list-stats {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .list-stats li {
        padding: 0.8rem 1rem;
    }
    
    .park-thumb {
        width: 45px;
        height: 45px;
        margin-right: 0.6rem;
    }
    
    .park-name-text {
        font-size: 1rem;
    }
    
    .park-hours {
        font-size: 1rem;
        padding-left: 0.6rem;
    }
    
    .park-image {
        width: 200px;
        height: 200px;
        margin: 1.5rem auto 0 auto;
    }
    
    .attraction-name {
        font-size: 2.5rem;
    }
    
    .stat-description {
        font-size: 1.2rem;
    }
    
    .stat-description-sm {
        font-size: 1rem;
    }
}

/* Tie popup */
.tie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.tie-popup-content {
    background: rgba(7, 3, 157, 0.95);
    border: 2px solid rgba(255, 204, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.tie-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tie-popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #FFCC00;
}

.tie-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tie-popup-close:hover {
    opacity: 1;
}

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

.tie-popup-list li {
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 3px solid #FFCC00;
    color: white;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.tie-popup-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #FFCC00;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

/* Quick Facts Grid */
.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.quick-fact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.quick-fact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 204, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
}

.quick-fact-number {
    font-size: 4rem;
    font-weight: 700;
    color: #FFCC00;
    margin-bottom: 15px;
    line-height: 1;
}

.quick-fact-label {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

@media (max-width: 768px) {
    .quick-facts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .quick-fact-card {
        padding: 30px 20px;
    }
    
    .quick-fact-number {
        font-size: 3rem;
    }
    
    .quick-fact-label {
        font-size: 1rem;
    }
}

/* Final Stats Grid */
.final-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.final-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.final-stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.final-stat-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.final-stat-value {
    font-family: 'Vision Heavy', sans-serif;
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 8px;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.final-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

@media (max-width: 1024px) {
    .final-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .final-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .final-stat-value {
        font-size: 1.1rem;
    }
    
    .final-stat-icon {
        font-size: 1.5rem;
    }
}


/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.share-modal-content {
    background: linear-gradient(315deg, #07039D 0%, #592DCC 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal-header h3 {
    font-family: 'Vision Heavy', sans-serif;
    font-size: 1.3rem;
    color: white;
}

.share-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.share-modal-close:hover {
    opacity: 1;
}

.share-modal-body {
    padding: 15px;
    text-align: center;
}

.share-modal-body p {
    color: rgba(255, 255, 255, 0.8);
}

.share-modal-body img {
    max-width: 100%;
    max-height: 50vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.share-modal-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-family: 'Vision', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFCC00;
    color: #07039D;
    font-weight: 700;
}

.share-action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.4);
}

.share-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .share-modal-actions {
        flex-direction: column;
    }
}
