:root {
    --red: #D00000;
    --red-dark: #8B0000;
    --black: #0a0a0a;
    --dark-gray: #151515;
    --text: #ffffff;
    --text-muted: #aaaaaa;
    
    --font-head: 'Rye', serif;
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--black);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Cinematic Background */
.bg-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.bg-image {
    position: absolute;
    width: 100%; height: 100%;
    background: url('https://images.wallpapersden.com/image/download/red-dead-redemption-2-4k-game_bGdmaWyUmZqaraWkpJRmbmdlrWZlbWU.jpg') center/cover no-repeat;
    opacity: 0.4;
}
.bg-gradient {
    position: absolute;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7), var(--black));
}

/* Ember effect (Simple CSS particles) */
.embers {
    position: absolute;
    width: 100%; height: 100%;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: embers 10s linear infinite;
}
@keyframes embers { from { transform: translateY(0); } to { transform: translateY(-100px); } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.8); }
.nav__container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 24px; color: #fff; text-decoration: none; letter-spacing: 1px; }
.logo__star { color: var(--red); margin: 0 5px; }
.btn-nav { background: var(--red); padding: 8px 20px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }

.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a:not(.btn-nav) { color: #ccc; font-weight: 600; transition: 0.2s; }
.nav__links a:hover { color: #fff; }

/* Hero */
.hero { padding: 80px 0 100px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.platform-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 50px; font-size: 14px; margin-bottom: 20px; }
.platform-badge i { color: var(--text); }
.divider { opacity: 0.3; }

.main-title {
    font-family: var(--font-head);
    font-size: 64px;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.red-word { color: var(--red); text-shadow: 0 0 30px rgba(208, 0, 0, 0.4); }

.subtitle { font-size: 18px; color: #ccc; margin-bottom: 30px; max-width: 500px; line-height: 1.6; }

.price-tag-hero { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 8px; border-left: 3px solid var(--red); width: fit-content; }
.price-tag-hero .value { font-size: 28px; font-weight: 700; color: #fff; }
.price-tag-hero .discount { font-size: 14px; color: #aaa; }
#promoDisplay { color: var(--red); cursor: pointer; border-bottom: 1px dashed var(--red); }

.hero__buttons { display: flex; gap: 20px; }
.btn { padding: 16px 32px; border-radius: 6px; font-weight: 700; text-transform: uppercase; cursor: pointer; text-align: center; display: inline-block; transition: 0.3s; letter-spacing: 0.5px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 20px rgba(208,0,0,0.3); border: none; }
.btn--red:hover { background: #ff1111; transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn--glass:hover { background: rgba(255,255,255,0.2); }

/* Phone Mockup */
.hero__phone { display: flex; justify-content: center; perspective: 1000px; }
.phone-case {
    width: 300px; height: 600px;
    background: #111;
    border-radius: 40px;
    border: 8px solid #2a2a2a;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: 0.5s;
    overflow: hidden;
}
.phone-case:hover { transform: rotateY(0) rotateX(0); }
.phone-notch { width: 120px; height: 25px; background: #000; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 15px 15px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: #000; overflow: hidden; position: relative; }

/* App Store UI Simulation */
.app-page { font-family: -apple-system, BlinkMacSystemFont, sans-serif; color: #fff; height: 100%; overflow-y: auto; }
.app-hero-image {
    height: 200px;
    background: url('https://preview.redd.it/can-we-all-agree-that-red-dead-redemption-1-has-the-best-v0-j94h2r2v1n691.jpg?auto=webp&s=c12740c1d3e39409f2d79c6d2a60d44b939d404a') center/cover;
    position: relative;
}
.app-hero-image::after { content:''; position:absolute; inset:0; background: linear-gradient(to bottom, transparent, #000); }

.app-header-row { padding: 0 20px; margin-top: -40px; position: relative; display: flex; gap: 15px; align-items: flex-end; }
.app-icon { width: 80px; height: 80px; border-radius: 18px; border: 2px solid #333; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.app-info { flex: 1; padding-bottom: 5px; }
.app-title { font-size: 18px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.app-pub { font-size: 12px; color: #888; margin-bottom: 8px; }
.app-get-btn { background: #007AFF; color: #fff; font-weight: 700; font-size: 13px; padding: 6px 20px; border-radius: 20px; display: inline-block; text-align: center; cursor: default; }

.app-stats { display: flex; justify-content: space-between; padding: 25px 20px; border-bottom: 1px solid #222; margin-bottom: 20px; }
.stat { text-align: center; }
.stat-val { display: block; font-size: 18px; font-weight: 700; color: #ccc; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: #666; }

.app-preview-row { display: flex; gap: 10px; padding: 0 20px; overflow-x: hidden; }
.preview-img { width: 200px; height: 120px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
.p1 { background-image: url('https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1174180/ss_e20771662c671f8047e23b4760f5b582f2779b52.1920x1080.jpg'); }
.p2 { background-image: url('https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1174180/ss_a157973f001b33732489021b906286c85614c57b.1920x1080.jpg'); }

/* Info Section Updates */
.info-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; margin-top: 50px; }
.info-text h2 { font-family: var(--font-head); font-size: 32px; margin-bottom: 25px; color: var(--red); }

.intro-p { font-size: 18px; line-height: 1.6; margin-bottom: 20px; color: #ddd; }
.intro-p strong { color: #fff; }

.version-compare { background: rgba(255,255,255,0.05); padding: 15px; border-left: 4px solid var(--red); margin-bottom: 25px; border-radius: 4px; }
.version-compare p { color: #ccc; font-size: 15px; }

.game-details { list-style: none; margin-bottom: 30px; }
.game-details li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 16px; color: #ccc; }
.game-details i { color: var(--red); font-size: 18px; width: 24px; text-align: center; }

.final-p { color: #888; font-size: 14px; font-style: italic; border-top: 1px solid #333; padding-top: 15px; }

.info-video { aspect-ratio: 16/9; border: 2px solid var(--red-dark); border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* Pricing Cards */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: 36px; letter-spacing: 1px; margin-bottom: 10px; }
.red-line { width: 60px; height: 4px; background: var(--red); margin: 0 auto; }

.cards-wrapper { display: flex; justify-content: center; gap: 30px; }
.card { background: #1a1a1a; border: 1px solid #333; padding: 40px; border-radius: 12px; flex: 1; max-width: 450px; transition: 0.3s; position: relative; }
.card:hover { transform: translateY(-5px); border-color: var(--red); }

.card--red { background: linear-gradient(145deg, #1a1a1a, #2a0000); border: 1px solid var(--red-dark); }
.best-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }

.card-top h3 { font-size: 22px; margin-top: 5px; }
.card-type { font-size: 12px; color: #666; font-weight: 700; letter-spacing: 1px; }
.card-price { font-size: 42px; font-weight: 700; margin: 20px 0; color: #fff; }

.shared-explanation { background: rgba(0,0,0,0.3); padding: 12px; border-radius: 6px; margin-bottom: 20px; font-size: 13px; color: #aaa; border: 1px dashed #444; }
.shared-explanation strong { color: #ddd; display: block; margin-bottom: 4px; }

.card-features ul { margin-bottom: 30px; }
.card-features li { margin-bottom: 12px; color: #ccc; display: flex; gap: 10px; }
.card-features i { color: var(--red); }
.card-features .muted { opacity: 0.5; text-decoration: line-through; }

.btn.full { width: 100%; display: block; }
.btn--outline { border: 1px solid #444; color: #fff; }
.btn--outline:hover { background: #fff; color: #000; }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #ddd; }

/* Footer */
.footer { border-top: 1px solid #222; padding: 50px 0; margin-top: 100px; background: #050505; }
.footer-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.f-logo { font-family: var(--font-head); font-size: 24px; color: #555; }
.f-links a { color: #888; margin-left: 20px; text-decoration: none; }
.copyright { color: #444; font-size: 13px; }

/* Toast */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--red); color: white; padding: 12px 24px; border-radius: 50px; font-weight: 600; opacity: 0; transition: 0.3s; z-index: 200; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__content { margin: 0 auto; }
    .price-tag-hero { margin: 0 auto 30px; }
    .hero__buttons { justify-content: center; }
    .info-grid { grid-template-columns: 1fr; }
    .cards-wrapper { flex-direction: column; align-items: center; }
    .card { width: 100%; }
    .nav__links { display: none; }
}
@media (max-width: 500px) {
    .main-title { font-size: 42px; }
    .phone-case { width: 260px; height: 520px; margin: 0 auto; }
}
