/* SPEEDots Website - Professional Game Dev Platform */

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

:root {
    --primary: #007ACC;
    --primary-dark: #005A9E;
    --secondary: #50c878;
    --accent: #ff9500;
    --bg-dark: #0a0a0f;
    --bg-card: #1a1a25;
    --bg-hover: #252530;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --gradient-1: linear-gradient(135deg, #007ACC 0%, #005A9E 100%);
    --gradient-2: linear-gradient(135deg, #ff9500 0%, #ff6b6b 100%);
    --gradient-3: linear-gradient(135deg, #50c878 0%, #4a9eff 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a25 0%, #0a0a0f 100%);
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 3s infinite;
}

.star:nth-child(1) { width: 2px; height: 2px; top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { width: 3px; height: 3px; top: 30%; left: 60%; animation-delay: 0.5s; }
.star:nth-child(3) { width: 2px; height: 2px; top: 60%; left: 80%; animation-delay: 1s; }
.star:nth-child(4) { width: 3px; height: 3px; top: 80%; left: 40%; animation-delay: 1.5s; }
.star:nth-child(5) { width: 2px; height: 2px; top: 50%; left: 10%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 26, 37, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
}

.logo {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(0, 122, 204, 0.5));
}

.brand-name {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: start;
}

.hero-left {
    padding-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(80, 200, 120, 0.1);
    border: 1px solid rgba(80, 200, 120, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 30px;
    color: var(--secondary);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    flex-direction: column;
    align-items: flex-start;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 204, 0.4);
}

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

.btn-subtitle {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Twitter Feed Center */
.twitter-feed-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 100px;
}

.twitter-header {
    text-align: center;
    margin-bottom: 20px;
}

.twitter-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.twitter-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.twitter-embed-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #15202b;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 122, 204, 0.05) 100%);
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 122, 204, 0.2);
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%);
}

.download-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.download-header {
    background: var(--gradient-1);
    padding: 60px;
    text-align: center;
}

.download-header h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.download-header p {
    font-size: 18px;
    opacity: 0.9;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(80, 200, 120, 0.1);
    border: 1px solid rgba(80, 200, 120, 0.3);
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.version-label {
    color: var(--text-secondary);
}

.version-number {
    color: var(--secondary);
    font-weight: 700;
    font-size: 20px;
}

.system-requirements h4 {
    margin-bottom: 16px;
    font-size: 18px;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.download-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-download {
    background: var(--gradient-3);
    color: white;
    padding: 30px 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(80, 200, 120, 0.3);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(80, 200, 120, 0.5);
}

.download-icon {
    font-size: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-title {
    font-weight: 700;
    font-size: 20px;
}

.download-size {
    font-size: 14px;
    opacity: 0.8;
}

.download-note {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.download-links {
    display: flex;
    gap: 20px;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

/* Updates Section */
.updates {
    padding: 100px 0;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.update-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
}

.update-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.update-date {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.update-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.update-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .twitter-feed-container {
        position: static;
        max-width: 600px;
        margin: 40px auto 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .features-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }
}
