/* Font import moved to HTML head with preload for better LCP performance */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.02);
}

.top-nav.light {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.top-nav.light .nav-brand {
    color: #121212;
}

.top-nav.light .nav-cta-button {
    background-color: #121212;
    color: white;
    border: none;
}

.top-nav:not(.light) .nav-cta-button {
    background-color: white;
    color: #182848;
    border: none;
}

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

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.nav-link:hover::before {
    opacity: 1;
}

.top-nav.light .nav-link {
    color: #121212;
}

.top-nav.light .nav-link::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand-link:hover {
    opacity: 0.8;
}

.top-nav.light .nav-brand-link {
    color: #121212;
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.nav-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-cta-button img {
    width: 20px;
    height: 20px;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    display: flex;
    align-items: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    z-index: 1;
    padding: 2rem 0;
}

.hero-text {
    flex: 1;
    color: #1d1d1f;
    padding: 2rem 0;
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.08;
    color: #1d1d1f;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #86868b;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
    transform: translateY(0);
    animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}

.cta-button img {
    width: 24px;
    height: 24px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
    background-color: #0077ed;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 24px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(0) rotateX(0) rotateY(0);
}

.hero-image img:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

.logo {
    width: 210px;
    height: 210px;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Features Section */
.features-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    animation: sectionFade 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-container {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.feature-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: breathe 8s ease-in-out infinite;
}

.feature-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
    padding: 2rem;
}

.feature-image {
    flex: 1.2;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: -1;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: translate(-5px, -5px);
}

.feature-text {
    flex: 1;
    color: #1d1d1f;
    padding-right: 2rem;
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.feature-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: textSlideIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.feature-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #86868b;
    font-weight: 400;
    animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: iconFloat 3s ease-in-out infinite;
}

.highlight-item p {
    font-size: 1.125rem;
    color: #1d1d1f;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.125rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-image img {
        max-width: 500px;
    }

    .feature-text h2 {
        font-size: 2.5rem;
    }

    .feature-description {
        font-size: 1.125rem;
    }

    .feature-content {
        gap: 4rem;
        padding: 4rem 2rem;
    }

    .feature-image {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 4rem 1rem;
        min-height: 100vh;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .feature-container {
        min-height: auto;
        padding: 6rem 1.5rem;
    }

    .feature-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .feature-text {
        padding-right: 0;
    }

    .feature-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .highlight-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 1rem;
    }

    .nav-brand span {
        display: none;
    }

    .nav-cta-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .nav-cta-button img {
        width: 16px;
        height: 16px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
    }

    .cta-button img {
        width: 20px;
        height: 20px;
    }

    .feature-container {
        padding: 4rem 1rem;
    }

    .feature-content {
        padding: 1rem;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .highlight-item p {
        font-size: 1rem;
    }
}

/* Compete Section Styles */
.compete-section {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.compete-container {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.compete-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 113, 227, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: breathe 10s ease-in-out infinite;
}

.compete-container .feature-text h2 {
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compete-container .feature-description {
    color: #86868b;
}

.compete-container .highlight-item p {
    color: #1d1d1f;
}

.compete-container .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.compete-image img {
    box-shadow: 0 25px 50px -12px rgba(33, 150, 243, 0.25);
}

.compete-container .feature-image::after {
    border-color: rgba(33, 150, 243, 0.1);
}

/* Update media queries for compete section */
@media (max-width: 768px) {
    .compete-container {
        padding: 4rem 1.5rem;
    }
}

/* UI Split Section */
.ui-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.split-container {
    display: flex;
    min-height: 100vh;
}

.split {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.split.light {
    background-color: #ffffff;
}

.split.dark {
    background-color: #121212;
}

.split-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.split.light .split-text h2 {
    color: #121212;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.split.light .split-text p {
    color: #333;
    font-size: 1.125rem;
    line-height: 1.7;
}

.split.dark .split-text h2 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.split.dark .split-text p {
    color: #e0e0e0;
    font-size: 1.125rem;
    line-height: 1.7;
}

.split-image {
    position: relative;
    width: 100%;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.split.light .split-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.split.dark .split-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.split-image img:hover {
    transform: translateY(-10px);
}

/* Split Section Media Queries */
@media (max-width: 1024px) {
    .split {
        padding: 3rem 1.5rem;
    }

    .split-text h2 {
        font-size: 2rem;
    }

    .split-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .split {
        min-height: 100vh;
        padding: 4rem 1.5rem;
    }

    .split-content {
        gap: 2rem;
    }

    .split-image img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .split {
        padding: 3rem 1rem;
    }

    .split-text h2 {
        font-size: 1.75rem;
    }

    .split-text p {
        font-size: 0.875rem;
    }
}

/* Languages Section Styles */
.languages-section {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.languages-container {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.languages-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 113, 227, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: breathe 14s ease-in-out infinite;
}

.languages-container .feature-text h2 {
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.languages-container .feature-description {
    color: #86868b;
}

.languages-container .highlight-item p {
    color: #1d1d1f;
}

.languages-container .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.languages-image img {
    box-shadow: 0 25px 50px -12px rgba(33, 150, 243, 0.25);
}

.languages-container .feature-image::after {
    border-color: rgba(0, 0, 0, 0.08);
}

/* Update media queries for languages section */
@media (max-width: 768px) {
    .languages-container {
        padding: 4rem 1.5rem;
    }
}

/* Statistics Section Styles */
.stats-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.stats-container {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: breathe 16s ease-in-out infinite;
}

.stats-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.stats-row.reverse {
    flex-direction: row-reverse;
}

.stats-row.reverse .stats-text h2 {
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-row.reverse .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-image {
    flex: 1;
    position: relative;
}

.stats-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    z-index: -1;
}

.stats-row.reverse .stats-image::after {
    border-color: rgba(0, 0, 0, 0.05);
}

.stats-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.stats-image img:hover {
    transform: translate(-5px, -5px);
}

.stats-text {
    flex: 1;
    padding: 2rem;
}

.stats-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-text .feature-description {
    color: #86868b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.stats-text .feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stats-text .highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-text .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 20px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-text .highlight-item p {
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 500;
}

/* Update media queries for stats section */
@media (max-width: 1024px) {
    .stats-row {
        gap: 2rem;
    }

    .stats-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        padding: 4rem 1.5rem;
    }

    .stats-content {
        gap: 4rem;
    }

    .stats-row,
    .stats-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .stats-text {
        padding: 1rem 0;
    }

    .stats-text .feature-highlights {
        grid-template-columns: 1fr;
    }
}

/* Racing Section Styles */
.racing-section {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.racing-container {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.racing-container::before {
    display: none;
}

.racing-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.racing-text {
    flex: 1;
    color: #1d1d1f;
}

.racing-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.racing-text .feature-description {
    color: #86868b;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    line-height: 1.6;
}

.racing-text .feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.racing-text .highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.racing-text .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 20px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 5rem;
    height: 5rem;
}

.racing-text .highlight-item p {
    color: #1d1d1f;
    font-size: 1.125rem;
    font-weight: 500;
}

.racing-image {
    flex: 1;
    position: relative;
}

.racing-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    z-index: -1;
}

.racing-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.racing-image img:hover {
    transform: translate(-5px, -5px);
}

/* Update media queries for racing section */
@media (max-width: 1024px) {
    .racing-content {
        gap: 2rem;
    }

    .racing-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .racing-container {
        padding: 4rem 1.5rem;
    }

    .racing-content {
        flex-direction: column;
        text-align: center;
    }

    .racing-text .feature-highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .racing-text .highlight-item {
        justify-content: center;
    }
}

/* Download Section Styles */
.download-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    animation: sectionFade 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.download-grid {
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    animation: gridMove 25s linear infinite;
}

.download-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.download-image {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.download-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.download-image img:hover {
    transform: translateY(-10px);
}

.download-text {
    text-align: center;
    max-width: 600px;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: textSlideIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.download-text p {
    font-size: 1.125rem;
    color: #86868b;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
    animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}

.download-button img {
    width: 24px;
    height: 24px;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
    background: #0077ed;
}

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #f5f5f7 0%, #e5e5ea 100%);
    padding: 3rem 2rem;
    color: #1d1d1f;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.05);
    color: #86868b;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-button svg {
    width: 20px;
    height: 20px;
}

.social-button:hover {
    background: #0071e3;
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

/* Update media queries for footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-buttons {
        justify-content: center;
    }
}

/* Goals Section Styling */
.goals-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.goals-container {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.goals-container::before {
    background: radial-gradient(circle at 30% 70%, rgba(0, 113, 227, 0.03) 0%, transparent 60%);
    animation: breathe 12s ease-in-out infinite;
}

.goals-container .feature-text h2 {
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.goals-container .feature-description {
    color: #86868b;
}

.goals-container .highlight-item p {
    color: #1d1d1f;
}

.goals-container .highlight-icon {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    color: #0071e3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.goals-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.goals-container .feature-image::after {
    border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .goals-container {
        background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    }
}

/* Practice Various Texts Section Styling */
.features-section:first-of-type:not(.leaderboard-section) .feature-container {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
}

.features-section:first-of-type:not(.leaderboard-section) .feature-container::before {
    background: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.features-section:first-of-type:not(.leaderboard-section) .feature-text h2 {
    color: #1565c0;
    text-shadow: none;
    background: linear-gradient(to right, #1565c0, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-section:first-of-type:not(.leaderboard-section) .feature-description {
    color: #263238;
}

.features-section:first-of-type:not(.leaderboard-section) .highlight-item p {
    color: #263238;
}

.features-section:first-of-type:not(.leaderboard-section) .highlight-icon {
    background-color: rgba(33, 150, 243, 0.15);
    color: #1976d2;
}

.features-section:first-of-type:not(.leaderboard-section) .feature-image::after {
    border-color: rgba(33, 150, 243, 0.3);
}

@media (max-width: 768px) {
    .features-section:first-of-type:not(.leaderboard-section) .feature-container {
        background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    min-height: 100vh;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.privacy-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.privacy-container h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-5px);
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.privacy-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.privacy-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4b6cb7;
    font-weight: bold;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 6rem 1rem 3rem;
    }

    .privacy-container {
        padding: 2rem;
    }

    .privacy-logo {
        width: 80px;
        height: 80px;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }

    .privacy-intro {
        font-size: 1rem;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 1rem;
    }
}

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

.footer-link {
    color: #86868b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0) 100%);
    border-radius: 20px;
    z-index: -1;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-link:hover {
    color: #0071e3;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Leaderboard Section Styling */
.leaderboard-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 50%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
}

.leaderboard-container {
    background: none;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.leaderboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 113, 227, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    pointer-events: none;
    animation: leaderboardAura 20s ease-in-out infinite;
}

.leaderboard-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.leaderboard-text {
    text-align: center;
    padding: 0;
}

.leaderboard-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 50%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleShimmer 4s ease-in-out infinite, titleFloat 6s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(0, 113, 227, 0.3);
    position: relative;
}

.leaderboard-container .feature-description {
    color: #86868b;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: descriptionGlow 3s ease-in-out infinite;
    font-weight: 400;
}

.leaderboard-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.leaderboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: cardSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    position: relative;
    overflow: hidden;
    animation-fill-mode: both;
}

.leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 113, 227, 0.03) 0%,
        transparent 50%,
        rgba(0, 123, 255, 0.02) 100%
    );
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.leaderboard-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(0, 113, 227, 0.1) 0%, 
        rgba(0, 123, 255, 0.05) 50%, 
        transparent 100%
    );
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.leaderboard-card > * {
    position: relative;
    z-index: 2;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotateX(-10deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02) rotateX(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.leaderboard-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 113, 227, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 255, 0.95) 100%);
}

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

.leaderboard-card:hover::before {
    background: linear-gradient(
        135deg,
        rgba(0, 113, 227, 0.08) 0%,
        rgba(0, 123, 255, 0.05) 50%,
        transparent 100%
    );
}


.rank-number {
    font-weight: 800;
    font-size: 1.4rem;
    padding: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    color: #86868b;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: rankPulse 3s ease-in-out infinite;
    overflow: hidden;
}

.rank-number:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f5 100%);
    border-color: rgba(0, 113, 227, 0.3);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rank-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.leaderboard-card:hover .rank-number::before {
    opacity: 1;
    animation: shimmerSweep 1.5s ease-in-out;
}

/* Special styling for top 3 positions */
.leaderboard-card:nth-child(1) .rank-number {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #ffffff;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    animation: goldGlow 2s ease-in-out infinite, rankPulse 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.leaderboard-card:nth-child(1) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.95) 0%, rgba(255, 245, 200, 0.9) 100%);
}

.leaderboard-card:nth-child(1)::after {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 165, 0, 0.2) 50%, 
        transparent 100%
    );
    opacity: 0.5;
}

.leaderboard-card:nth-child(2) .rank-number {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 50%, #9CA3AF 100%);
    color: #ffffff;
    border: 2px solid #E5E7EB;
    box-shadow: 0 0 15px rgba(229, 231, 235, 0.5), 0 0 30px rgba(229, 231, 235, 0.3);
    animation: silverGlow 2.5s ease-in-out infinite, rankPulse 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.leaderboard-card:nth-child(2) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.leaderboard-card:nth-child(2)::after {
    background: linear-gradient(135deg, 
        rgba(229, 231, 235, 0.2) 0%, 
        rgba(209, 213, 219, 0.15) 50%, 
        transparent 100%
    );
    opacity: 0.3;
}

.leaderboard-card:nth-child(3) .rank-number {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 50%, #8B4513 100%);
    color: #ffffff;
    border: 2px solid #CD7F32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5), 0 0 30px rgba(205, 127, 50, 0.3);
    animation: bronzeGlow 3s ease-in-out infinite, rankPulse 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.leaderboard-card:nth-child(3) {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.95) 0%, rgba(252, 235, 215, 0.9) 100%);
}

.leaderboard-card:nth-child(3)::after {
    background: linear-gradient(135deg, 
        rgba(205, 127, 50, 0.2) 0%, 
        rgba(184, 115, 51, 0.15) 50%, 
        transparent 100%
    );
    opacity: 0.3;
}

/* Special styling for top 10 */
.leaderboard-card:nth-child(-n+10):not(:nth-child(-n+3)) .rank-number {
    color: #ffffff;
    background: linear-gradient(135deg, #0071e3 0%, #007AFF 50%, #5856D6 100%);
    border: 2px solid rgba(0, 113, 227, 0.6);
    box-shadow: 0 0 12px rgba(0, 113, 227, 0.4), 0 0 24px rgba(0, 113, 227, 0.2);
    animation: blueGlow 4s ease-in-out infinite, rankPulse 3s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.leaderboard-card:nth-child(4) { animation-delay: 0.8s; }
.leaderboard-card:nth-child(5) { animation-delay: 1s; }
.leaderboard-card:nth-child(6) { animation-delay: 1.2s; }
.leaderboard-card:nth-child(7) { animation-delay: 1.4s; }
.leaderboard-card:nth-child(8) { animation-delay: 1.6s; }
.leaderboard-card:nth-child(9) { animation-delay: 1.8s; }
.leaderboard-card:nth-child(10) { animation-delay: 2s; }

.leaderboard-card:nth-child(-n+10):not(:nth-child(-n+3))::after {
    background: linear-gradient(135deg, 
        rgba(0, 113, 227, 0.1) 0%, 
        rgba(0, 122, 255, 0.08) 50%, 
        transparent 100%
    );
    opacity: 0.2;
}

@media (max-width: 768px) {
    .card-rank {
        min-width: 60px;
    }

    .rank-number {
        font-size: 1.5rem;
        padding: .5rem 1rem;
    }
}

.card-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.country-flag {
    width: 48px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: flagWave 5s ease-in-out infinite;
}

.leaderboard-card:hover .country-flag {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.user-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    animation: avatarFloat 4s ease-in-out infinite;
}

.user-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(0, 113, 227, 0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.leaderboard-card:hover .user-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.leaderboard-card:hover .user-avatar::before {
    opacity: 1;
    animation: avatarGlow 2s ease-in-out infinite;
}

.user-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1d1d1f;
    text-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.leaderboard-card:hover .user-name {
    color: #0071e3;
    transform: translateX(5px);
}

.wpm {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 120px;
    text-align: right;
    text-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: wpmPulse 3s ease-in-out infinite;
    position: relative;
}

.wpm::after {
    content: ' WPM';
    font-size: 0.75rem;
    font-weight: 500;
    color: #86868b;
    margin-left: 4px;
}

.leaderboard-card:hover .wpm {
    background: linear-gradient(135deg, #0071e3 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .leaderboard-card {
        padding: 1rem;
        gap: 1rem;
    }

    .card-rank {
        min-width: 60px;
    }

    .rank-number {
        font-size: 1.5rem;
        padding: .5rem 1rem;
    }

    .card-content {
        gap: 1rem;
    }

    .country-flag {
        width: 28px;
        height: 21px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }

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

    .wpm {
        font-size: 1.25rem;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .leaderboard-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .card-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .user-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .wpm {
        text-align: center;
    }
}

/* No Data State for Leaderboard */
.no-data-card {
    text-align: center;
    padding: 60px 40px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease forwards;
}

.no-data-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-data-icon {
    font-size: 64px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.no-data-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #90caf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-data-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.no-data-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

@media (max-width: 768px) {
    .no-data-card {
        padding: 40px 25px !important;
    }

    .no-data-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .no-data-content h3 {
        font-size: 24px;
    }

    .no-data-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .no-data-stats {
        gap: 40px;
    }

    .stat-value {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .no-data-stats {
        flex-direction: column;
        gap: 30px;
    }
}

.no-data-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.no-data-cta-button img {
    width: 24px;
    height: 24px;
}

.no-data-cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .no-data-cta-button {
        padding: 14px 28px;
        font-size: 15px;
        margin-top: 30px;
    }

    .no-data-cta-button img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .no-data-cta-button {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 25px;
    }
}

.live-indicator-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -15px 0 25px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: rgb(61, 172, 98);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.live-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgb(63, 187, 104);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.live-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Apple-inspired smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(40px) translateY(40px);
    }
}

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

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

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

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

/* Enhanced Hover Effects */
.highlight-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

.feature-image img:hover {
    filter: brightness(1.05) saturate(1.1);
}

.highlight-item:hover .highlight-item p {
    color: #0071e3;
    transform: translateX(5px);
}

/* Smooth scrolling and page transitions */
html {
    scroll-behavior: smooth;
}

* {
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Advanced Leaderboard Animations */
@keyframes leaderboardAura {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.02) rotate(0.5deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(0.98) rotate(-0.5deg);
    }
    75% {
        opacity: 0.85;
        transform: scale(1.01) rotate(0.3deg);
    }
}

@keyframes titleShimmer {
    0%, 100% {
        background-position: -200% 0;
        filter: brightness(1);
    }
    50% {
        background-position: 200% 0;
        filter: brightness(1.1);
    }
}

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

@keyframes descriptionGlow {
    0%, 100% {
        opacity: 1;
        text-shadow: none;
    }
    50% {
        opacity: 0.9;
        text-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6);
        filter: brightness(1.1);
    }
}

@keyframes silverGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(229, 231, 235, 0.5), 0 0 30px rgba(229, 231, 235, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(229, 231, 235, 0.7), 0 0 50px rgba(229, 231, 235, 0.5);
        filter: brightness(1.05);
    }
}

@keyframes bronzeGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(205, 127, 50, 0.5), 0 0 30px rgba(205, 127, 50, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(205, 127, 50, 0.7), 0 0 50px rgba(205, 127, 50, 0.5);
        filter: brightness(1.05);
    }
}

@keyframes blueGlow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(0, 113, 227, 0.4), 0 0 24px rgba(0, 113, 227, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 113, 227, 0.6), 0 0 40px rgba(0, 113, 227, 0.4);
    }
}

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

@keyframes shimmerSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(300%) rotate(45deg);
    }
}

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

@keyframes avatarGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

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

@keyframes flagWave {
    0%, 100% {
        transform: perspective(100px) rotateY(0deg);
    }
    25% {
        transform: perspective(100px) rotateY(-2deg);
    }
    50% {
        transform: perspective(100px) rotateY(0deg);
    }
    75% {
        transform: perspective(100px) rotateY(2deg);
    }
}

/* Floating particles effect */
.leaderboard-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 113, 227, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(0, 113, 227, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(0, 123, 255, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 10% 90%, rgba(0, 113, 227, 0.05) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px, 180px 180px, 220px 220px, 160px 160px;
    animation: particleFloat 25s linear infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-40px) rotate(360deg);
        opacity: 1;
    }
}

/* Live indicator enhanced */
.live-indicator {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: liveIndicatorFloat 4s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .live-indicator {
        margin: -10px 0 20px;
        padding: 6px 12px;
    }

    .live-dot {
        width: 10px;
        height: 10px;
    }

    .live-text {
        font-size: 16px;
    }
}