/* Anime Crusaders Info - Main Stylesheet */

/* CSS Custom Properties */
:root {
    /* Colors - Light Theme */
    --bg: #ffffff;
    --bg-elevated: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-contrast: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Sizes */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --container-max-width: 1200px;
    --header-height: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

/* Dark Theme */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --bg-elevated: #1e293b;
        --text: #f8fafc;
        --text-muted: #94a3b8;
        --border: #334155;
        --border-light: #475569;
    }
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-elevated: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --border-light: #475569;
}

[data-theme="light"] {
    --bg: #ffffff;
    --bg-elevated: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent);
    color: var(--accent-contrast);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: var(--border-radius);
}

.skip-link:focus {
    top: 6px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-lg);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.125rem;
}

.header__logo svg {
    color: var(--accent);
}

.header__title {
    display: none;
}

@media (min-width: 640px) {
    .header__title {
        display: block;
    }
}

/* Navigation */
.nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.875rem;
}

.nav__link:hover,
.nav__link:focus {
    color: var(--accent);
    background-color: var(--bg-elevated);
}

.nav__link--active {
    color: var(--accent);
    background-color: var(--bg-elevated);
}

@media (max-width: 640px) {
    .nav__list {
        gap: var(--space-xs);
    }
    
    .nav__link {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8125rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.theme-toggle:hover,
.theme-toggle:focus {
    background-color: var(--bg-elevated);
    border-color: var(--accent);
}

.theme-toggle__icon {
    color: var(--text-muted);
    transition: var(--transition);
}

.theme-toggle__icon--dark {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--light {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
    display: block;
}

@media (prefers-color-scheme: dark) {
    .theme-toggle__icon--light {
        display: none;
    }
    
    .theme-toggle__icon--dark {
        display: block;
    }
    
    [data-theme="light"] .theme-toggle__icon--light {
        display: block;
    }
    
    [data-theme="light"] .theme-toggle__icon--dark {
        display: none;
    }
}

/* Main Content */
main {
    min-height: calc(100vh - var(--header-height) - 200px);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__text {
    text-align: left;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    max-width: 90%;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__video {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.hero__video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.hero__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-lg);
}

/* Hero Codes */
.hero__codes {
    margin-top: var(--space-3xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    grid-column: 1 / -1;
}

.hero__codes-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text);
    text-align: center;
}

.hero__codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.hero-code {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
    position: relative;
}

.hero-code:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.hero-code__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.hero-code__code {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.hero-code__new {
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-code__reward {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.hero-code__copy {
    background: var(--accent);
    color: var(--accent-contrast);
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.hero-code__copy:hover {
    background: #5856eb;
    transform: translateY(-1px);
}

.hero-code__copy:active {
    transform: translateY(0);
}

.hero__code-skeleton {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    animation: pulse 2s infinite;
}

.skeleton {
    background: var(--border-light);
    border-radius: var(--border-radius);
    height: 1.25rem;
    margin-bottom: var(--space-sm);
}

.skeleton--small {
    height: 1rem;
    width: 70%;
}

.skeleton--text {
    height: 1.125rem;
    width: 60%;
}

.hero-codes__error {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl);
}

.hero-codes__error a {
    color: var(--accent);
    text-decoration: none;
}

.hero-codes__error a:hover {
    text-decoration: underline;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .hero__text {
        text-align: center;
        order: 2;
    }
    
    .hero__video {
        order: 1;
        margin-bottom: var(--space-lg);
    }
    
    .hero__video-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.125rem;
        max-width: 100%;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__codes {
        margin-top: var(--space-xl);
        max-width: 100%;
    }
    
    .hero__codes-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .hero-code {
        padding: var(--space-md);
    }
    
    .hero-code__code {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero__content {
        gap: var(--space-xl);
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__video-wrapper {
        max-width: 480px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .hero__video-wrapper {
        border-radius: var(--border-radius);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 2.5rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    color: var(--accent-contrast);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover,
.btn--primary:focus {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--secondary:hover,
.btn--secondary:focus {
    background: var(--border-light);
    border-color: var(--accent);
}

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

.btn--ghost:hover,
.btn--ghost:focus {
    color: var(--accent);
    background: var(--bg-elevated);
    border-color: var(--border);
}

.btn--large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    min-height: 3rem;
}

.btn--small {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
    min-height: 2rem;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cards */
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card__icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.card__description {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.card__link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.card__link:hover,
.card__link:focus {
    text-decoration: underline;
}

/* Section Styles */
.section__title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
    color: var(--text);
}

/* Game Overview Section */
.game-overview {
    padding: var(--space-3xl) 0;
    background: var(--bg-elevated);
}

.overview__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.overview__description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.overview__description:last-child {
    margin-bottom: 0;
}

.overview__stats {
    display: grid;
    gap: var(--space-lg);
}

.stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
}

.stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .overview__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .overview__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .stat {
        padding: var(--space-md);
    }
    
    .stat__number {
        font-size: 1.5rem;
    }
}

/* Character System Section */
.character-system {
    padding: var(--space-3xl) 0;
}

.system__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.system__card {
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
}

.system__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.system__description {
    line-height: 1.6;
    color: var(--text);
}

.system__list {
    list-style: none;
}

.system__list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
}

.system__list li:last-child {
    border-bottom: none;
}

.system__list strong {
    color: var(--accent);
}

/* Traits System Section */
.traits-system {
    padding: var(--space-3xl) 0;
    background: var(--bg-elevated);
}

.traits__intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    color: var(--text-muted);
    line-height: 1.6;
}

.traits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.trait {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.trait:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.trait__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.trait__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.trait__rarity {
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trait__rarity--legendary {
    background: #fbbf24;
    color: #92400e;
}

.trait__rarity--epic {
    background: #a78bfa;
    color: #5b21b6;
}

.trait__rarity--rare {
    background: #60a5fa;
    color: #1e40af;
}

.trait__rarity--uncommon {
    background: #34d399;
    color: #065f46;
}

.trait__rarity--common {
    background: #94a3b8;
    color: #475569;
}

.trait__effect {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Strategy Guide Section */
.strategy-guide {
    padding: var(--space-3xl) 0;
}

.strategy__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    color: var(--text);
}

.tips__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.tip {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
}

.tip__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: var(--border-radius-lg);
}

.tip__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.tip__description {
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tips__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .tip {
        flex-direction: column;
        text-align: center;
    }
    
    .tip__icon {
        align-self: center;
    }
}

/* Features Grid */
.features {
    padding: var(--space-3xl) 0;
}

.features__title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* Trust Section */
.trust {
    padding: var(--space-3xl) 0;
    background: var(--bg-elevated);
    text-align: center;
}

.trust__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.trust__subtitle {
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
}

.trust__sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.source {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-weight: 500;
}

.source__icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Newsletter */
.newsletter {
    background: var(--bg-elevated);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.newsletter__content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.newsletter__description {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.newsletter__form {
    margin-bottom: var(--space-lg);
}

.newsletter__input-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.newsletter__input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

.newsletter__privacy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.newsletter__privacy a {
    color: var(--accent);
    text-decoration: none;
}

.newsletter__privacy a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .newsletter__input-group {
        flex-direction: column;
    }
}

/* FAQ */
.faq {
    padding: var(--space-3xl) 0;
}

.faq__title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--bg-elevated);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    transition: var(--transition);
}

.faq__question:hover {
    background: var(--border-light);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Codes Table */
.codes-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.codes-controls__search {
    flex: 1;
    min-width: 250px;
}

.codes-controls__filters {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input__icon {
    position: absolute;
    left: var(--space-sm);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input__field {
    width: 100%;
    padding: var(--space-sm) var(--space-sm) var(--space-sm) 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    background: var(--bg);
    color: var(--text);
}

.search-input__field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.filter-select {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Codes Table */
.codes-table-wrapper {
    margin-bottom: var(--space-2xl);
}

.codes-table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    background: var(--bg-elevated);
}

.codes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.codes-table__header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.codes-table__header--code {
    width: 200px;
}

.codes-table__header--reward {
    width: 200px;
}

.codes-table__header--type {
    width: 100px;
}

.codes-table__header--level {
    width: 100px;
}

.codes-table__header--status {
    width: 120px;
}

.codes-table__header--actions {
    width: 120px;
}

.sort-button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0;
}

.sort-button:hover {
    color: var(--accent);
}

.sort-icon {
    opacity: 0.5;
    transition: var(--transition);
}

.sort-button:hover .sort-icon {
    opacity: 1;
}

.codes-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.codes-table tbody tr:hover {
    background: var(--bg);
}

.codes-table tbody td {
    padding: var(--space-md);
    vertical-align: middle;
}

.code-cell {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge--working {
    background: rgb(16 185 129 / 0.1);
    color: var(--success);
}

.status-badge--expired {
    background: rgb(239 68 68 / 0.1);
    color: var(--danger);
}

.level-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.level-badge--required {
    background: rgb(245 158 11 / 0.1);
    color: var(--warning);
}

.level-badge--not-required {
    background: rgb(16 185 129 / 0.1);
    color: var(--success);
}

.type-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.type-badge--general {
    background: rgb(99 102 241 / 0.1);
    color: var(--accent);
}

.type-badge--style {
    background: rgb(139 92 246 / 0.1);
    color: #8b5cf6;
}

.action-buttons {
    display: flex;
    gap: var(--space-xs);
}

.copy-button {
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent);
    color: var(--accent-contrast);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.copy-button:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.copy-button:active {
    transform: translateY(0);
}

/* Loading & Empty States */
.loading-state,
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-md);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state__icon {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.empty-state__description {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Notice */
.notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-xl);
}

.notice--info {
    background: rgb(99 102 241 / 0.1);
    border: 1px solid rgb(99 102 241 / 0.2);
}

.notice--warning {
    background: rgb(245 158 11 / 0.1);
    border: 1px solid rgb(245 158 11 / 0.2);
}

.notice__icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.notice--warning .notice__icon {
    color: var(--warning);
}

.notice__content {
    flex: 1;
}

.notice__content p {
    margin: 0;
    line-height: 1.5;
}

/* Steps */
.steps {
    padding: var(--space-2xl) 0;
}

.steps__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
}

.steps__list {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.step__number {
    position: relative;
    width: 4rem;
    height: 4rem;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step__number svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.step__number-text {
    position: relative;
    z-index: 1;
}

.step__content {
    flex: 1;
    padding-top: var(--space-sm);
}

.step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.step__description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.step__tip {
    background: var(--bg-elevated);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent);
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step__number {
        margin: 0 auto;
    }
}

/* Video Guide */
.video-guide {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.video-guide__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        margin-left: var(--space-md);
        margin-right: var(--space-md);
    }
}

/* Troubleshooting */
.troubleshooting {
    padding: var(--space-2xl) 0;
    background: var(--bg-elevated);
}

.troubleshooting__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
}

.troubleshooting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.troubleshoot-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.troubleshoot-item__icon {
    width: 3rem;
    height: 3rem;
    background: var(--danger);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.troubleshoot-item__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.troubleshoot-item__solutions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.troubleshoot-item__solutions li {
    padding: var(--space-xs) 0;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: var(--space-lg);
}

.troubleshoot-item__solutions li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.troubleshoot-item__solutions a {
    color: var(--accent);
    text-decoration: none;
}

.troubleshoot-item__solutions a:hover {
    text-decoration: underline;
}

/* News */
.news__list {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.news-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.news-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.news-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.news-item__date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.news-item__tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.news-tag {
    background: var(--accent);
    color: var(--accent-contrast);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.news-tag--milestone {
    background: var(--success);
}

.news-tag--patch {
    background: var(--warning);
}

.news-tag--style {
    background: #8b5cf6;
}

.news-item__summary {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.news-item__body {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    display: none;
}

.news-item__body.expanded {
    display: block;
}

.news-item__toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
}

.news-item__toggle:hover {
    text-decoration: underline;
}

/* Tier List */
.tier-list {
    padding: var(--space-2xl) 0;
}

.tier-list__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
}

.tier-list__grid {
    display: grid;
    gap: var(--space-xl);
}

.tier-row {
    display: flex;
    gap: var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 120px;
}

.tier-row__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    min-width: 120px;
    text-align: center;
}

.tier-row--s .tier-row__label {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.tier-row--a .tier-row__label {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.tier-row--b .tier-row__label {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.tier-row__rank {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.tier-row__description {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    opacity: 0.9;
}

.tier-row__characters {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    overflow-x: auto;
}

.character-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-sm) var(--space-md);
    min-width: 180px;
    flex-shrink: 0;
}

.character-card--legendary {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgb(251 191 36 / 0.1) 0%, rgb(245 158 11 / 0.05) 100%);
}

.character-card--mythical {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgb(139 92 246 / 0.1) 0%, rgb(124 58 237 / 0.05) 100%);
}

.character-card--epic {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(79 70 229 / 0.05) 100%);
}

.character-card--rare {
    border-color: #10b981;
    background: linear-gradient(135deg, rgb(16 185 129 / 0.1) 0%, rgb(5 150 105 / 0.05) 100%);
}

.character-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.character-card--legendary .character-card__icon {
    color: #fbbf24;
}

.character-card--mythical .character-card__icon {
    color: #8b5cf6;
}

.character-card--epic .character-card__icon {
    color: #6366f1;
}

.character-card--rare .character-card__icon {
    color: #10b981;
}

.character-card__name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.character-card__type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Tier Explanations */
.tier-explanations {
    padding: var(--space-2xl) 0;
    background: var(--bg-elevated);
}

.tier-explanations__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
}

.tier-explanations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.explanation-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.explanation-card--s {
    border-left: 4px solid #ef4444;
}

.explanation-card--a {
    border-left: 4px solid #f59e0b;
}

.explanation-card--b {
    border-left: 4px solid #10b981;
}

.explanation-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.explanation-card__description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tips */
.tips-section {
    padding: var(--space-2xl) 0;
}

.tips-section__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.tip-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
}

.tip-card__icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.tip-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.tip-card__description {
    color: var(--text-muted);
    line-height: 1.6;
}

.tip-card__description a {
    color: var(--accent);
    text-decoration: none;
}

.tip-card__description a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    color: var(--accent-contrast);
    padding: var(--space-3xl);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.cta-card__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-card__description {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.cta-card__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card .btn--primary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-contrast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-card .btn--primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.cta-card .btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-contrast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-card .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Error Page */
.error-page {
    text-align: center;
    padding: var(--space-3xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-page__content {
    max-width: 600px;
    margin: 0 auto;
}

.error-page__icon {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.error-page__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.error-page__description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.error-search {
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-2xl);
}

.error-search__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.error-search__description {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.search-form {
    margin-bottom: var(--space-lg);
}

.search-results {
    text-align: left;
    margin-top: var(--space-lg);
}

.search-results__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.search-results__list {
    display: grid;
    gap: var(--space-sm);
}

.search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

.search-result__code {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent);
}

.search-result__reward {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.search-empty {
    text-align: center;
    padding: var(--space-lg);
    color: var(--text-muted);
}

.error-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.popular-links {
    text-align: left;
}

.popular-links__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.popular-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.popular-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.popular-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.popular-link__icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-link__title {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.popular-link__description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.quick-action {
    text-align: center;
    background: var(--bg-elevated);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-2xl);
}

.quick-action__text {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

/* Report Section */
.report-section {
    text-align: center;
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--space-2xl);
}

.report-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.report-section__description {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Ad Slots */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-2xl) 0;
    border: 1px dashed var(--border);
    border-radius: var(--border-radius);
    background: var(--bg-elevated);
}

.ad-slot--banner {
    height: 100px;
}

.ad-slot--sidebar {
    height: 260px;
    width: 310px;
    margin: var(--space-lg) auto;
}

.ad-slot__placeholder {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    z-index: 40;
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: block;
    }
}

/* Toast */
.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 250px;
    animation: slideIn 0.3s ease-out;
}

.toast--success {
    border-color: var(--success);
}

.toast--error {
    border-color: var(--danger);
}

.toast__icon {
    flex-shrink: 0;
}

.toast--success .toast__icon {
    color: var(--success);
}

.toast--error .toast__icon {
    color: var(--danger);
}

.toast__message {
    flex: 1;
    font-size: 0.875rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__section {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.footer__description {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: var(--space-xs);
}

.footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__links a:focus {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.footer__meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer__disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer__status {
    display: flex;
    align-items: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer Social Links */
.footer__social {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover,
.footer__social-link:focus {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__meta {
        flex-direction: column;
        text-align: center;
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus,
[role="button"]:focus {
    outline-offset: 0;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-cta,
    .ad-slot,
    .newsletter,
    .theme-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .codes-table {
        font-size: 10pt;
    }
    
    .btn {
        display: none;
    }
}

/* Content Sections */
.content-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.content-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--accent);
    padding-bottom: var(--space-sm);
}

.content-section__body {
    color: var(--text);
    line-height: 1.6;
}

.content-section__body p {
    margin-bottom: var(--space-md);
}

.content-section__body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: var(--space-xl) 0 var(--space-md) 0;
}

.content-section__body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: var(--space-lg) 0 var(--space-sm) 0;
}

.content-section__body ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.content-section__body li {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
}

.content-section__body strong {
    color: var(--accent);
    font-weight: 600;
}

/* Specific content section styles */
.reward-types,
.best-practices,
.common-mistakes,
.recent-updates {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--accent);
}

.steps-guide {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
}

.steps-guide ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.steps-guide li {
    counter-increment: step-counter;
    margin-bottom: var(--space-md);
    padding-left: var(--space-2xl);
    position: relative;
}

.steps-guide li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent);
    color: var(--accent-contrast);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.important-tips {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-elevated) 100%);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
    border: 1px solid var(--border);
}

.faq-item {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    border-left: 3px solid var(--accent);
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: var(--space-sm) !important;
}

.faq-item p {
    margin-bottom: 0 !important;
}

/* Responsive adjustments for content sections */
@media (max-width: 768px) {
    .content-section {
        padding: var(--space-lg);
        margin-bottom: var(--space-xl);
    }
    
    .content-section__title {
        font-size: 1.25rem;
    }
    
    .steps-guide li {
        padding-left: var(--space-xl);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .spinner {
        animation: none;
    }
}
