/* CSS Variables & Reset */
:root {
    --color-primary: #2563eb;
    --color-accent: #93c5fd;
    --color-bg-main: #506579;
    --color-bg-dark: #334155;
    --color-bg-card: #e2e8f0;
    --color-text-main: #ffffff;
    --color-text-dark: #1e293b;
    --color-text-muted: #94a3b8;
    
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Header Styles */
.header {
    width: 100%;
    background-color: rgba(51, 65, 85, 0.95); /* bg-[#334155]/95 */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    height: 4rem; /* 16 */
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-style: italic;
    color: var(--color-text-main);
}

.brand span {
    color: var(--color-accent);
}

.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-left: 2.5rem;
    }
}

.nav-link {
    color: #cbd5e1; /* gray-300 */
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    font-weight: 700;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: white;
    border-color: var(--color-accent);
}

.nav-link.active {
    border-color: var(--color-accent);
    color: white;
}

.search-bar {
    display: none;
}

@media (min-width: 1024px) {
    .search-bar {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 0.25rem;
        margin-right: 1.5rem;
    }
}

.search-input {
    background: transparent;
    font-size: 10px;
    color: white;
    font-weight: 700;
    width: 8rem;
    text-transform: uppercase;
}

.search-input::placeholder {
    color: #9ca3af; /* gray-400 */
}

.icon-btn {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    color: white;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: var(--color-accent);
    color: var(--color-text-dark); /* slate-900 */
    font-size: 8px;
    font-weight: 900;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Footer Styles */
.footer {
    position: relative;
    width: 100%;
    background-color: var(--color-text-dark); /* #1e293b */
    color: white;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-title {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 4.5rem; /* 7xl */
    }
}

.footer-title span {
    color: var(--color-accent);
}

.footer-text {
    color: #9ca3af; /* gray-400 */
    margin-bottom: 2rem;
    font-weight: 500;
    max-width: 28rem;
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 28rem;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    color: white;
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-btn {
    background-color: white;
    color: black;
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: var(--color-accent);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a, .footer-list button {
    font-size: 0.875rem;
    color: #9ca3af; /* gray-400 */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

.footer-list a:hover, .footer-list button:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-end; /* Mobile default mostly */
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: flex-end;
    }
}

.affiliate-notice {
    font-size: 10px;
    color: #d1d5db; /* gray-300ish or 600 in design */
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.affiliate-text {
    font-size: 10px;
    color: #64748b; /* gray-500 */
    font-family: monospace; /* font-mono */
    font-weight: 700;
    line-height: 1.625;
}

.copyright {
    font-size: 10px;
    color: #475569; /* gray-600 */
    font-family: monospace;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Glass Panel Utility */
.glass-panel {
    background: rgba(86, 107, 124, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
