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

:root {
    --primary-color: #ffffff;
    --secondary-color: #ffffff;
    --accent-color: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --tech-blue: #ffffff;
    --porsche-gold: #ffffff;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    /* Fallback background if video doesn't load */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: -1;
}

/* Tech Grid Overlay */
.tech-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridPulse 4s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Main Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.main-content {
    max-width: 600px;
    width: 100%;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 255, 65, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: slideInTech 0.8s ease-out;
}

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

/* Header Section */
.header-section {
    margin-bottom: 50px;
}

.logo-container {
    margin-bottom: 30px;
    background: transparent;
}

.porsche-logo {
    height: 80px;
    width: auto;
    background: transparent;
    mix-blend-mode: normal;
    transition: all 0.3s ease;
}

.porsche-logo:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.porsche-text-container {
    margin: 20px 0;
}

.porsche-text {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

.porsche-text:hover {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
    transform: scale(1.02);
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    }
}

.main-title {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 3.5em;
    font-weight: normal;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 0 0 25px rgba(255, 255, 255, 0.6); }
}

.subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.subtitle-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: linePulse 2s ease-in-out infinite alternate;
}

@keyframes linePulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.subtitle {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 0.9em;
    font-weight: normal;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Donation Section */
.section-title {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 1.4em;
    font-weight: normal;
    color: var(--text-light);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.donation-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.donate-btn {
    position: relative;
    background: linear-gradient(145deg, rgba(0, 255, 65, 0.1), rgba(0, 102, 255, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 180px;
    height: 100px;
}

.btn-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.amount {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 1.8em;
    font-weight: normal;
    color: var(--text-light);
    margin-bottom: 5px;
}

.label {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 0.7em;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: normal;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--tech-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.donate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 255, 65, 0.3),
        0 0 0 1px var(--primary-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--tech-blue);
}

.donate-btn:hover .btn-glow {
    opacity: 0.1;
}

.donate-btn:active {
    transform: translateY(-2px);
}

.donate-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.donate-btn.loading:hover {
    transform: none;
    box-shadow: none;
}

.donation-info {
    color: var(--text-dim);
    font-size: 0.9em;
    font-style: italic;
    margin-top: 20px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 2.5em;
    font-weight: normal;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-size: 0.8em;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Thank You Section */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.thank-you-content {
    max-width: 500px;
    width: 100%;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.98));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(0, 255, 65, 0.2);
    animation: thankYouPulse 0.8s ease-out;
}

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

.thank-you-title {
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 2.8em;
    font-weight: normal;
    color: var(--text-light);
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.thank-you-message {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.thank-you-subtitle {
    color: var(--text-dim);
    font-size: 1em;
    margin-bottom: 40px;
    font-style: italic;
}

.contribute-again-btn {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--text-light);
    border-radius: 12px;
    padding: 15px 40px;
    font-family: '911porscha', 'Orbitron', monospace;
    font-size: 1em;
    font-weight: normal;
    color: var(--text-light);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contribute-again-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    border-color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 25px;
        margin: 10px;
    }
    
    .main-title {
        font-size: 2.5em;
        letter-spacing: 2px;
    }
    
    .donation-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .donate-btn {
        min-width: 200px;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .subtitle-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .subtitle-line {
        width: 100px;
    }
    
    .porsche-logo {
        height: 60px;
    }
    
    .porsche-text {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2em;
    }
    
    .thank-you-title {
        font-size: 2.2em;
    }
    
    .thank-you-content {
        padding: 40px 25px;
    }
}