:root {
    /* Racing Color Palette */
    --primary-red: #dc2626;
    --dark-red: #991b1b;
    --racing-black: #0f0f0f;
    --carbon-black: #1a1a1a;
    --racing-white: #ffffff;
    --silver: #e5e7eb;
    --gold: #fbbf24;
    --orange: #f97316;
    --racing-blue: #1e40af;
    
    /* Gradients */
    --red-gradient: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    --speed-gradient: linear-gradient(90deg, var(--primary-red), var(--orange), var(--gold));
    --carbon-gradient: linear-gradient(135deg, var(--racing-black), var(--carbon-black));
    
    /* Typography */
    --font-racing: 'Rajdhani', sans-serif;
    --font-tech: 'Orbitron', monospace;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-racing);
    background: var(--racing-black);
    color: var(--racing-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Racing Background */
.racing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.track-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            var(--primary-red) 98px,
            var(--primary-red) 100px
        );
    opacity: 0.05;
    animation: trackMove 20s linear infinite;
}

.speed-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.speed-particles::before,
.speed-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100px;
    background: var(--speed-gradient);
    border-radius: 1px;
    animation: speedParticle 3s linear infinite;
}

.speed-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.speed-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

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

@keyframes speedParticle {
    0% {
        transform: translateX(-100px) scaleY(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: scaleY(1);
    }
    100% {
        transform: translateX(calc(100vw + 100px)) scaleY(0);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-red);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.2);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--racing-white);
    transition: var(--transition-smooth);
}

.brand:hover {
    transform: translateX(5px);
}

.brand-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-tech);
    color: var(--racing-white);
}

.brand-tagline {
    font-size: 10px;
    color: var(--primary-red);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--racing-white);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-stripe {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--speed-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover .nav-stripe {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--racing-white);
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--carbon-gradient);
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
}

.speed-indicator {
    margin-bottom: 30px;
}

.speedometer {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--carbon-black), var(--racing-black));
}

.speed-needle {
    width: 2px;
    height: 30px;
    background: var(--gold);
    position: absolute;
    top: 10px;
    border-radius: 1px;
    animation: speedNeedle 3s ease-in-out infinite;
    transform-origin: bottom center;
}

.speed-text {
    font-family: var(--font-tech);
    font-size: 10px;
    color: var(--primary-red);
    font-weight: 700;
    margin-top: 15px;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    position: relative;
}

.turbo-text {
    display: block;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: turboGlow 2s ease-in-out infinite alternate;
}

.rush-text {
    display: block;
    color: var(--racing-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.title-flames {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.title-flames::before {
    content: '🔥';
    animation: flameFlicker 1.5s ease-in-out infinite alternate;
}

@keyframes turboGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

@keyframes flameFlicker {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--silver);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.start-engine-btn {
    position: relative;
    background: var(--red-gradient);
    color: var(--racing-white);
    padding: 18px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-racing);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-engine-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-flames {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}

.start-engine-btn:hover .btn-flames {
    left: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.racing-car {
    font-size: 8rem;
    animation: carBounce 3s ease-in-out infinite;
}

.speed-lines {
    position: absolute;
    left: -50px;
    width: 200px;
    height: 4px;
    background: var(--speed-gradient);
    border-radius: 2px;
    animation: speedLines 2s linear infinite;
}

.speed-lines::before,
.speed-lines::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: var(--speed-gradient);
    border-radius: 1px;
    left: -100px;
}

.speed-lines::before {
    top: -10px;
    animation: speedLines 2s linear infinite 0.3s;
}

.speed-lines::after {
    top: 10px;
    animation: speedLines 2s linear infinite 0.6s;
}

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

@keyframes speedLines {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-300px);
        opacity: 0;
    }
}

/* Section Styles */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    font-family: var(--font-racing);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.title-icon {
    font-size: 0.8em;
    animation: iconSpin 4s linear infinite;
}

.title-text {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--speed-gradient);
    border-radius: 2px;
}

.section-title.gold .title-text {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    background: var(--carbon-black);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--primary-red);
    border-radius: var(--border-radius);
    padding: 40px;
    backdrop-filter: blur(20px);
}

.content-card p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--silver);
    margin-bottom: 20px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Features Section */
.features-section {
    background: var(--racing-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    position: relative;
    background: rgba(26, 26, 26, 0.8);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.feature-icon {
    position: relative;
    margin-bottom: 30px;
}

.feature-icon img {
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.icon-boost {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    opacity: 0;
    animation: boostPulse 2s infinite;
}

@keyframes boostPulse {
    0% {
        transform: translateX(-50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(1.4);
        opacity: 0;
    }
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--racing-white);
    margin-bottom: 20px;
    font-family: var(--font-racing);
    letter-spacing: 1px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--silver);
}

.feature-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--speed-gradient);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-stripe {
    transform: translateX(0);
}

/* Why Section */
.why-section {
    background: var(--carbon-black);
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.play-ground-area {
    margin-top: 50px;
}

.racing-frame {
    background: var(--racing-black);
    border: 2px solid var(--primary-red);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.frame-header {
    background: var(--carbon-gradient);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--primary-red);
}

.frame-lights {
    display: flex;
    gap: 8px;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.3;
}

.light.red {
    background: #dc2626;
}

.light.yellow {
    background: #fbbf24;
}

.light.green {
    background: #16a34a;
}

.light.active {
    opacity: 1;
    animation: lightPulse 2s infinite;
}

.frame-title {
    font-family: var(--font-tech);
    font-size: 14px;
    color: var(--racing-white);
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes lightPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* About Us Section */
.about-us-section {
    background: var(--racing-black);
}

.about-us-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-us-visual {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--primary-red);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.1));
}

.racing-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(220, 38, 38, 0.1) 20px,
        rgba(220, 38, 38, 0.1) 40px
    );
}

.about-us-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--racing-white);
    margin-bottom: 20px;
    font-family: var(--font-racing);
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--speed-gradient);
    border-radius: 2px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--silver);
}

.content-section strong {
    color: var(--primary-red);
}

/* Disclaimer Section */
.disclaimer-section {
    background: var(--carbon-black);
}

.disclaimer-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--primary-red);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.card-header {
    background: var(--red-gradient);
    padding: 25px 40px;
    position: relative;
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--racing-white);
    font-family: var(--font-racing);
}

.card-header.gold h2 {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--speed-gradient);
}

.card-content {
    padding: 40px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--silver);
}

/* Developer & License Section */
.dev-license-section {
    background: var(--racing-black);
}

.dev-license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dev-card,
.license-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.dev-card:hover,
.license-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.header-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--speed-gradient);
}

.card-content {
    padding: 30px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--silver);
}

.card-content strong {
    color: var(--primary-red);
}

/* Footer */
.footer {
    background: var(--carbon-gradient);
    border-top: 2px solid var(--primary-red);
    position: relative;
}

.footer-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    overflow: hidden;
}

.track-line {
    width: 200%;
    height: 100%;
    background: var(--speed-gradient);
    animation: trackMove 4s linear infinite;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-nav {
    text-align: center;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    position: relative;
    text-decoration: none;
    color: var(--racing-white);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary-red);
}

.link-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--speed-gradient);
    transition: var(--transition-smooth);
}

.footer-link:hover .link-underline {
    width: 100%;
}

.footer-info {
    margin-bottom: 40px;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--silver);
    margin-bottom: 30px;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-link {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
    position: relative;
}

.support-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
}

.support-link:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.copyright-section {
    display: flex;
    align-items: center;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--racing-white);
    transition: var(--transition-smooth);
}

.copyright:hover {
    color: var(--primary-red);
}

.copyright-icon {
    font-size: 20px;
}

.copyright p {
    font-size: 14px;
    font-family: var(--font-tech);
}

.footer-badges {
    display: flex;
    align-items: center;
}

.badge-group {
    display: flex;
    gap: 15px;
}

.footer-badge {
    display: block;
    transition: var(--transition-smooth);
}

.footer-badge:hover {
    transform: scale(1.1);
}

.footer-badge img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.footer-finish {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
}

.finish-line {
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--racing-white) 0px,
        var(--racing-white) 20px,
        var(--racing-black) 20px,
        var(--racing-black) 40px
    );
    animation: finishLine 2s linear infinite;
}

@keyframes finishLine {
    0% { transform: translateX(0); }
    100% { transform: translateX(-40px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-us-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dev-license-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--carbon-gradient);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        border-left: 2px solid var(--primary-red);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .racing-car {
        font-size: 6rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .support-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .racing-car {
        font-size: 4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .badge-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Performance Optimizations */
.feature-card,
.content-card,
.disclaimer-card,
.dev-card,
.license-card {
    will-change: transform;
}

.speed-particles,
.track-lines {
    will-change: transform;
}

.turbo-text,
.racing-car {
    will-change: filter, transform;
}

/* Print Styles */
@media print {
    .racing-bg,
    .navbar,
    .footer {
        display: none;
    }
    
    .hero {
        padding-top: 0;
        min-height: auto;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}


.content {
    padding: 40px 10%;
   
}

.content-block {}

.content-block h2 {
    color: #eb0e0e;
}

.content-block p,
ul {
    color: rgba(183, 183, 183, 0.7);
}

.play-ground-area {
    padding: 2rem;
    background: rgba(0, 0, 0, 0);
}

.play-game {
    max-width: 940px;
    margin: 0 auto;
}

a {
    text-decoration: none;
}