/* Base Reset and Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #8b5cf6;
    --accent-secondary: #6366f1;
    --accent-gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction: column;
}

.jcc {
    justify-content: center;
}
.aic {
    align-items: center;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-primary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

/* Hero page has transparent header */
.hero-page header {
    background-color: transparent;
    position: absolute;
    border-bottom: none;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 8px 0;
}

header nav ul li a:hover {
    color: var(--text-primary);
}

header .header-title {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-height: 28px;
}

/* YouTube Subscribe Button alignment */
header .header-title .g-ytsubscribe,
header .header-title iframe {
    display: block;
    vertical-align: middle;
}

/* Footer styles */
footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

footer p {
    font-size: 0.85rem;
    margin-top: 20px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

footer img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

footer .social-links a:hover img {
    opacity: 1;
}

a:link, a:visited {
    color: var(--text-primary);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    header nav ul {
        gap: 20px;
    }
}
