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

:root {
    --bg-color: #070707;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1AA;
    --brand-color: #007AFF;
    --divider-color: rgba(255, 255, 255, 0.08);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', var(--font-stack);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-secondary);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--divider-color);
    background-color: var(--bg-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Main Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    border-top: 1px solid var(--divider-color);
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Common Components */
.stadium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.3s ease;
    letter-spacing: -0.01em;
    overflow: hidden;
    cursor: pointer;
}

.stadium-btn:hover {
    opacity: 0.9;
}

.stadium-btn:active {
    transform: scale(0.98);
}

.stadium-btn.brand {
    background-color: var(--brand-color);
    color: #FFFFFF;
}

/* Toast Notification (Shared) */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1C1C1E;
    border: 1px solid var(--divider-color);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem 0.5rem 0.5rem;
    border-radius: 100px;
    font-family: var(--font-stack);
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-text {
    font-size: 0.875rem;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}
