@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #0a0b0d;
    --text-color: #f5f9fe;
    --text-secondary: #787d87;
    --primary-gradient: linear-gradient(90deg, #3ee1a3 0%, #32f08c 36%, #60f2bd 71.63%, #a0fde7 100%);
    --primary-glow: rgba(50, 240, 140, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(50, 240, 140, 0.3);
    --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@font-face {
    font-family: 'BASKVILL';
    src: url("../fonts/BASKVILL.TTF");
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4; /* Dim the video to blend with black */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #0a0b0d 100%), rgba(10, 11, 13, 0.9);
    backdrop-filter: blur(8px);
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 11, 13, 0.7);
    backdrop-filter: blur(20px);
}

.logo {
    font-family: 'BASKVILL', serif;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px;
    position: relative;
    z-index: 10;
}

.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0;
    color: #fff;
}

.hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

/* Optional: Add a subtle glow behind the highlight */
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--primary-gradient);
    filter: blur(40px);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Downloads Grid */
.downloads {
    width: 100%;
    max-width: 1000px;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.card i {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card:hover i {
    opacity: 1;
    transform: scale(1.1);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #eee;
}

.card span {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card:hover span {
    background: var(--primary-gradient);
    color: #0a0b0d;
    box-shadow: 0 4px 12px var(--primary-glow);
    font-weight: 700;
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    color: #444;
    font-size: 13px;
    border-top: 1px solid #111;
    position: relative;
    z-index: 10;
}

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

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

/* Mobile Responsive */
@media (max-width: 900px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    header {
        padding: 20px;
    }
}
