*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: #58a6ff;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #79c0ff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #21262d;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #e6edf3;
}
.logo span {
    color: #58a6ff;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #e6edf3;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}
.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: #161b22;
    border-left: 1px solid #30363d;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nav-panel.open {
    transform: translateX(0);
}
.nav-panel a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e6edf3;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-panel a:hover {
    background: #21262d;
    color: #58a6ff;
}

section {
    padding: 100px 0 80px;
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
}
.hero-content {
    max-width: 700px;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-content h1 span {
    color: #58a6ff;
}
.hero-content .tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #8b949e;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1rem;
    color: #8b949e;
    max-width: 560px;
    margin-bottom: 32px;
}
.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #30363d;
    background: #161b22;
    color: #e6edf3;
    transition: all 0.2s;
}
.hero-links a:hover {
    border-color: #58a6ff;
    background: #1c2128;
    color: #58a6ff;
}

#roster {
    scroll-margin-top: 64px;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-sub {
    color: #8b949e;
    margin-bottom: 48px;
    max-width: 600px;
}
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.character-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.character-card:hover {
    border-color: #58a6ff;
    transform: translateY(-4px);
}
.character-card .char-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.character-card .img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #21262d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #484f58;
    font-size: 2.5rem;
    font-weight: 700;
}
.character-card .card-body {
    padding: 20px;
}
.character-card .card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.character-card .card-body p {
    color: #8b949e;
    font-size: 0.9rem;
}

#streams {
    scroll-margin-top: 64px;
}
.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.stream-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    color: #e6edf3;
    font-weight: 600;
    font-size: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}
.stream-card:hover {
    border-color: #58a6ff;
    transform: translateY(-3px);
    color: #58a6ff;
}
.stream-card .stream-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

#contact {
    scroll-margin-top: 64px;
}
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.contact-links a {
    font-size: 1rem;
    font-weight: 500;
    color: #8b949e;
    transition: color 0.2s;
}
.contact-links a:hover {
    color: #58a6ff;
}

footer {
    border-top: 1px solid #21262d;
    padding: 32px 0;
    text-align: center;
    color: #484f58;
    font-size: 0.85rem;
}

.show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}
.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #30363d;
    background: #161b22;
    color: #e6edf3;
    transition: all 0.2s;
    cursor: pointer;
}
.show-more-btn:hover {
    border-color: #58a6ff;
    background: #1c2128;
    color: #58a6ff;
}

.carousel-section {
    padding: 100px 0 60px;
    overflow: hidden;
}
.carousel-wrapper {
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    overflow: hidden;
    padding: 20px 0;
}
.carousel-track {
    display: flex;
    gap: 24px;
    width: fit-content;
    animation: scroll-right 40s linear infinite;
}
.carousel-track:hover {
    animation-play-state: paused;
}
.carousel-card {
    width: 220px;
    flex-shrink: 0;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.carousel-card:hover {
    border-color: #58a6ff;
    transform: translateY(-4px);
}
.carousel-card .carousel-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.carousel-card .carousel-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #21262d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #484f58;
    font-size: 2rem;
    font-weight: 700;
}
.carousel-card .carousel-body {
    padding: 16px;
}
.carousel-card .carousel-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.carousel-card .carousel-body p {
    color: #8b949e;
    font-size: 0.85rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.carousel-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #30363d;
    background: #161b22;
    color: #e6edf3;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-toggle:hover {
    border-color: #58a6ff;
    color: #58a6ff;
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.commissions-section {
    padding: 100px 0 40px;
}
.commissions-section .subtitle {
    color: #8b949e;
    margin-bottom: 48px;
    max-width: 600px;
}
.info-block {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}
.info-block h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #58a6ff;
}
.info-block p,
.info-block li {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}
.info-block ul {
    padding-left: 24px;
    list-style: disc;
}
.info-block li {
    margin-bottom: 4px;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}
.pricing-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #30363d;
}
.pricing-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #e6edf3;
    border-bottom: 1px solid #21262d;
}
.pricing-table td:last-child {
    color: #58a6ff;
    font-weight: 600;
    text-align: right;
}
.pricing-table tr:last-child td {
    border-bottom: none;
}
.pricing-table tr:last-child td:last-child {
    color: #f0883e;
}
.highlight-box {
    background: #161b22;
    border: 1px solid #f0883e;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}
.highlight-box h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0883e;
}
.highlight-box p {
    color: #e6edf3;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 16px 24px;
    z-index: 997;
    display: none;
}
.cookie-banner.show {
    display: block;
}
.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-content p {
    color: #8b949e;
    font-size: 0.85rem;
    margin: 0;
}
.cookie-content a {
    color: #58a6ff;
}
.cookie-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #30363d;
    background: #21262d;
    color: #e6edf3;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn:hover {
    border-color: #58a6ff;
    background: #1c2128;
    color: #58a6ff;
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .tagline {
        font-size: 1rem;
    }
    .roster-grid {
        grid-template-columns: 1fr;
    }
    .streams-grid {
        grid-template-columns: 1fr 1fr;
    }
    section {
        padding: 72px 0 56px;
    }
}
