/* ========== FONT FACE ========== */
@font-face {
    font-family: 'Chinese Rocks';
    src: url('fonts/chinese rocks rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RDR2RP Georgian';
    src: url('fonts/Rdr2rp_geo_regular-Regular.otf') format('opentype'),
         url('fonts/Rdr2rp_geo_regular-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-panel: #111111;
    --text-white: #ffffff;
    --text-gray: #8a8a8a;
    --text-light: #c0c0c0;
    --accent-red: #DA4D15;
    --accent-red-dark: #a33a0f;
    --font-display: 'Chinese Rocks', Georgia, serif;
    --font-body: 'Chinese Rocks', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loading-logo {
    height: 80px;
    width: auto;
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.loading-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.loading-text {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-gray);
}

/* Suppress page animations while loading */
body.loading .navbar,
body.loading .character-info,
body.loading .character-nav,
body.loading .bottom-bar {
    animation: none !important;
    opacity: 0;
}

/* ========== GEORGIAN FONT SUPPORT ========== */
html.lang-ka .character-name,
html.lang-ka .donation-title {
    font-family: 'RDR2RP Georgian', Georgia, serif;
}

html.lang-ka .character-quote,
html.lang-ka .nav-item-text,
html.lang-ka .step-title,
html.lang-ka .step-desc,
html.lang-ka .feature-title,
html.lang-ka .feature-desc,
html.lang-ka .about-text p,
html.lang-ka .cta-primary,
html.lang-ka .cta-secondary,
html.lang-ka .nav-donation span,
html.lang-ka .lang-selector,
html.lang-ka .donation-desc,
html.lang-ka .custom-label,
html.lang-ka .exchange-rate,
html.lang-ka .buy-btn,
html.lang-ka .package-badge,
html.lang-ka .loading-text,
html.lang-ka .scroll-hint span,
html.lang-ka .copy-feedback {
    font-family: 'RDR2RP Georgian', -apple-system, sans-serif;
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    transition: width 0.4s ease;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, transparent 100%);
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.lang-selector:hover {
    color: var(--text-white);
}

/* Donation Button */
.nav-donation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-white) !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    background: url('img/don-btn.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-donation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/don-btnhover.png') center/cover no-repeat;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.nav-donation:hover::before {
    opacity: 1;
}

.nav-donation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.nav-donation:active {
    transform: translateY(0);
    color: #ffffff !important;
}

.nav-donation:visited,
.nav-donation:focus,
.nav-donation:link {
    color: #ffffff !important;
}

.nav-donation svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.nav-donation span {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--text-white);
}

.mobile-cta {
    margin-top: 16px;
    padding: 14px 36px !important;
    border: none;
    border-radius: 4px;
    background: url('img/don-btn.png') center/cover no-repeat !important;
    color: var(--text-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 15px !important;
}

/* ========== HERO SECTION ========== */
.hero {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Left Panel */
.hero-image-panel {
    width: 45%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Left Background Image */
.left-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* Character Images Overlay */
.character-images {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.char-img {
    position: absolute;
    bottom: 0;
    right: -5%;
    height: 95%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0;
    transform: scale(1.03) translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(-10px 5px 30px rgba(0, 0, 0, 0.6));
}

.char-img.active {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.char-img.exit {
    opacity: 0;
    transform: scale(0.97) translateX(-30px);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, var(--bg-dark) 100%);
    z-index: 2;
    pointer-events: none;
}


/* Right Panel */
.hero-content-panel {
    width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 0 40px 30px 40px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

/* Slide Counter — top-right above nav */
.slide-counter {
    position: absolute;
    top: 90px;
    right: 40px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-body);
}

.current-slide {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-white);
    transition: all 0.4s ease;
}

.slide-divider {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0 2px;
}

.total-slides {
    font-size: 13px;
    color: var(--text-gray);
}

/* Character Info — left side of content */
.character-info {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.char-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    width: 100%;
}

.char-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.char-slide.exit-up {
    opacity: 0;
    transform: translateY(-40px);
}

.char-slide.exit-down {
    opacity: 0;
    transform: translateY(40px);
}

.character-name {
    font-family: var(--font-display);
    font-size: clamp(112px, 13vw, 180px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 3px;
    margin-bottom: 36px;
    color: var(--text-white);
    text-transform: uppercase;
}

.character-quote {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    max-width: 500px;
}

.character-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 460px;
    letter-spacing: 0.3px;
}

/* Character Navigation — right side, vertically centered */
.character-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    align-self: center;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 240px;
}

.nav-arrow {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-arrow:hover {
    color: var(--text-white);
    transform: scale(1.2);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: right;
    position: relative;
}

.nav-item-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--text-gray);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--text-white);
}

.nav-item:hover .nav-item-dot {
    border-color: var(--text-white);
}

.nav-item.active {
    color: var(--text-white);
    font-weight: 400;
    background: var(--accent-red);
    border-radius: 3px;
}

.nav-item.active .nav-item-dot {
    border-color: var(--text-white);
    background: var(--text-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ========== BOTTOM BAR ========== */
.bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scroll-hint span {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-gray);
}

.scroll-hint-line {
    width: 40px;
    height: 1px;
    background: var(--text-gray);
    position: relative;
    overflow: hidden;
}

.scroll-hint-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-gray);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ========== CTA BUTTONS ========== */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-red);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-primary:hover {
    background: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 77, 21, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-secondary:hover {
    border-color: var(--text-white);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* ========== STEPS (How to Start) ========== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 4px;
    max-width: 500px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--accent-red);
    line-height: 1;
    flex-shrink: 0;
    min-width: 36px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.step-desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 8px;
}

.step-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.platform-link:hover {
    color: var(--text-white);
    border-color: var(--accent-red);
    background: rgba(218, 77, 21, 0.1);
}

.platform-link svg {
    flex-shrink: 0;
}

.redm-link {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.redm-link:hover {
    background: rgba(218, 77, 21, 0.15);
    color: var(--text-white);
}

/* IP Copy */
.ip-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.ip-copy:hover {
    border-color: var(--accent-red);
    background: rgba(218, 77, 21, 0.08);
}

.ip-address {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-white);
    letter-spacing: 0.5px;
    user-select: all;
}

.copy-icon {
    color: var(--text-gray);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.ip-copy:hover .copy-icon {
    color: var(--accent-red);
}

.copy-feedback {
    position: absolute;
    right: -60px;
    font-size: 11px;
    color: var(--accent-red);
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.copy-feedback.show {
    opacity: 1;
}

/* ========== FEATURES (Key Features) ========== */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 4px;
    max-width: 520px;
}

.feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(218, 77, 21, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== ABOUT ========== */
.about-text {
    max-width: 500px;
}

.about-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ========== R2 COINS STORE MODAL ========== */
.donation-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.donation-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.donation-modal {
    position: relative;
    max-width: 520px;
    width: 90%;
    padding: 48px 40px;
    text-align: center;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.donation-overlay.active .donation-modal {
    transform: scale(1) translateY(0);
}

.donation-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.donation-close:hover {
    color: var(--text-white);
}

.donation-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 3px;
    color: var(--text-white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.donation-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

/* Coin Packages */
.coin-packages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.coin-package {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.coin-package:hover,
.coin-package.selected {
    border-color: var(--accent-red);
    background: rgba(218, 77, 21, 0.08);
    color: var(--text-white);
}

.coin-package.selected {
    box-shadow: 0 0 16px rgba(218, 77, 21, 0.25);
}

.coin-package.popular {
    border-color: rgba(218, 77, 21, 0.4);
}

.package-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: var(--text-white);
    font-size: 7px;
    letter-spacing: 1.5px;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

.package-coins {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1;
}

.package-coin-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--accent-red);
}

.package-price {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Custom Amount */
.custom-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.custom-label {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-gray);
}

.amount-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 14px;
    transition: border-color 0.3s ease;
}

.amount-input-wrapper:focus-within {
    border-color: var(--accent-red);
}

.amount-currency {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-gray);
    margin-right: 6px;
}

.amount-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 18px;
    width: 80px;
    letter-spacing: 1px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.amount-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-equals {
    font-size: 18px;
    color: var(--text-gray);
}

.amount-result {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.result-coins {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent-red);
    min-width: 40px;
}

.result-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-red);
}

.exchange-rate {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

/* Buy Button */
.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    padding: 14px 32px;
    background: var(--accent-red);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.buy-btn:hover:not(:disabled) {
    background: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 77, 21, 0.4);
}

.buy-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.powered-by {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.powered-by strong {
    color: rgba(255, 255, 255, 0.4);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.character-info {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.character-nav {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.bottom-bar {
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1200px) {
    .hero-content-panel {
        padding: 0 30px 25px 30px;
    }

    .character-name {
        font-size: clamp(52px, 6.5vw, 90px);
    }

    .character-nav {
        min-width: 200px;
    }

    .nav-item {
        font-size: 14px;
        padding: 10px 16px;
    }

    .char-img {
        right: -8%;
        height: 90%;
    }
}

@media (max-width: 1024px) {
    .hero-image-panel {
        width: 40%;
    }

    .hero-content-panel {
        width: 60%;
        padding: 0 24px 20px 24px;
    }

    .character-nav {
        min-width: 170px;
    }

    .nav-item {
        font-size: 13px;
        padding: 8px 14px;
    }

    .nav-donation {
        padding: 8px 18px;
        font-size: 12px;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-image-panel {
        width: 100%;
        height: 40vh;
        min-height: 250px;
    }

    .image-overlay {
        background: linear-gradient(180deg, transparent 20%, var(--bg-dark) 100%);
    }

    .char-img {
        right: -5%;
        height: 85%;
    }

    .hero-content-panel {
        width: 100%;
        height: 60vh;
        padding: 20px 24px 20px;
    }

    .content-wrapper {
        padding-top: 0;
        flex-direction: column;
        gap: 16px;
    }

    .character-info {
        min-height: 180px;
    }

    .character-name {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .character-quote {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .character-desc {
        font-size: 11px;
        line-height: 1.5;
    }

    .character-nav {
        flex-direction: row;
        align-items: center;
        margin-left: 0;
        min-width: unset;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-arrow {
        flex-shrink: 0;
    }

    .nav-arrow svg {
        transform: rotate(-90deg);
    }

    .nav-up svg {
        transform: rotate(-90deg);
    }

    .nav-down svg {
        transform: rotate(-90deg);
    }

    .nav-list {
        flex-direction: row;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        flex-direction: column;
        gap: 4px;
        padding: 6px 10px;
        font-size: 9px;
    }

    .nav-item-text {
        font-size: 9px;
        white-space: nowrap;
    }

    .nav-item-dot {
        width: 7px;
        height: 7px;
    }

    /* New sections mobile */
    .cta-buttons {
        gap: 10px;
    }

    .cta-primary,
    .cta-secondary {
        padding: 10px 20px;
        font-size: 11px;
    }

    .steps-container {
        gap: 14px;
    }

    .step-number {
        font-size: 22px;
        min-width: 30px;
    }

    .step-title {
        font-size: 12px;
    }

    .step-desc {
        font-size: 10px;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 12px;
        gap: 10px;
    }

    .feature-title {
        font-size: 12px;
    }

    .feature-desc {
        font-size: 10px;
    }

    .about-text p {
        font-size: 12px;
    }

    .ip-address {
        font-size: 11px;
    }

    .copy-feedback {
        right: -50px;
        font-size: 9px;
    }

    .slide-counter {
        top: auto;
        bottom: auto;
        right: 24px;
        position: relative;
        align-self: flex-end;
        margin-bottom: -10px;
    }

    .bottom-bar {
        padding: 12px 0;
    }

    .scroll-hint {
        display: none;
    }

    .social-links {
        gap: 12px;
    }

    /* Store modal mobile */
    .donation-modal {
        padding: 32px 20px;
    }

    .donation-title {
        font-size: 36px;
    }

    .donation-desc {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .coin-packages {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .coin-package {
        padding: 14px 6px 12px;
    }

    .package-coins {
        font-size: 18px;
    }

    .amount-input-wrapper {
        padding: 8px 10px;
    }

    .amount-input {
        font-size: 16px;
        width: 60px;
    }

    .result-coins {
        font-size: 20px;
    }

    .buy-btn {
        font-size: 12px;
        padding: 12px 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-donation {
        padding: 7px 14px;
        font-size: 9px;
        letter-spacing: 1px;
        gap: 5px;
    }

    .nav-donation svg {
        width: 11px;
        height: 11px;
    }

    .hero-image-panel {
        height: 35vh;
        min-height: 200px;
    }

    .hero-content-panel {
        height: 65vh;
        padding: 16px 20px 16px;
    }

    .character-info {
        min-height: 200px;
    }

    .character-name {
        font-size: 34px;
        margin-bottom: 12px;
    }

    .character-quote {
        font-size: 12px;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .character-desc {
        font-size: 11px;
        max-width: 100%;
    }

    .nav-item-text {
        font-size: 8px;
    }

    .nav-item {
        padding: 5px 8px;
    }

    .current-slide {
        font-size: 22px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .character-name {
        font-size: 28px;
    }

    .character-quote {
        font-size: 11px;
    }

    .hero-content-panel {
        padding: 12px 16px 12px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        flex-direction: row;
    }

    .hero-image-panel {
        width: 35%;
        height: 100vh;
    }

    .hero-content-panel {
        width: 65%;
        height: 100vh;
        padding: 0 20px 12px 20px;
    }

    .image-overlay {
        background: linear-gradient(90deg, transparent 60%, var(--bg-dark) 100%);
    }

    .character-info {
        min-height: 120px;
    }

    .character-name {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .character-quote {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .character-desc {
        font-size: 9px;
    }

    .character-nav {
        flex-direction: column;
        min-width: 130px;
        margin-left: auto;
    }

    .nav-item {
        font-size: 10px;
        padding: 5px 10px;
    }

    .nav-arrow svg {
        transform: none;
    }

    .bottom-bar {
        padding: 6px 0;
    }

    .scroll-hint {
        display: none;
    }

    .slide-counter {
        top: 60px;
        right: 20px;
    }
}

/* Touch device hint */
@media (hover: none) {
    .scroll-hint span::after {
        content: ' (SWIPE)';
    }
}

/* Selection color */
::selection {
    background: var(--accent-red);
    color: var(--text-white);
}
