/* ==========================================================================\
   GTA5RP.COM OFFICIAL STYLING REPLICA — FENIX RP
   ========================================================================== */

:root {
    --bg-main: #1d1d1e;
    --bg-card: #181819;
    --bg-hover: #252526;
    --bg-input: #121213;

    --bright-orange: #ff5500;
    --bright-orange-hover: #e04b00;

    --border-grid: #333334;
    --border-grid-light: rgba(255, 255, 255, 0.12);

    --text-white: #ffffff;
    --text-muted: #99999a;
    --text-dim: #666667;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
}

.text-orange { color: var(--bright-orange) !important; }

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(29, 29, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-grid);
    padding: 16px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    font-family: var(--font-heading);
}

.logo-star-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-right: 8px;
}

.logo-fenix {
    color: var(--text-white);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-dm {
    color: var(--text-white);
    font-weight: 300;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0px;
    margin-left: 6px;
    line-height: 1;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-donate-nav {
    border: 1px solid var(--border-grid);
    color: var(--bright-orange);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-donate-nav:hover {
    background: var(--bg-hover);
    border-color: var(--bright-orange);
}

.btn-login-nav {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-login-nav:hover {
    color: var(--bright-orange);
}

/* HERO SECTION */
.hero-section {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--border-grid);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title-box {
    position: relative;
    padding-top: 20px;
}

.stroke-title-bg {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 96px;
    line-height: 0.9;
    letter-spacing: -2px;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    color: #1d1d1e;
    text-transform: uppercase;
    user-select: none;
}

.server-badge {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-grid);
    padding: 10px 20px;
}

.online-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.server-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-white);
}

.server-ip-mini {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

/* HERO VIDEO BOX */
.hero-video-box {
    position: relative;
    border: 1px solid var(--border-grid);
    height: 280px;
    overflow: hidden;
}

.video-preview-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.3s ease;
}

.hero-video-box:hover .video-img {
    filter: grayscale(0%);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play-video {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--text-white);
    color: #1d1d1e;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-play-video:hover {
    transform: scale(1.1);
    background: var(--bright-orange);
    color: #fff;
}

/* HERO BOTTOM GRID */
.hero-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--border-grid);
    padding-top: 30px;
}

.grid-col-left, .grid-col-right {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.hero-cta-tile {
    flex: 1;
    background: var(--bright-orange);
    color: #fff;
    padding: 24px 28px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-cta-tile:hover {
    background: var(--bg-hover);
    color: var(--bright-orange);
    border: 1px solid var(--border-grid);
}

.tile-arrow {
    font-size: 32px;
}

.online-counter-block {
    flex: 1;
    border: 1px solid var(--border-grid);
    background: var(--bg-card);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.online-label {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.online-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 42px;
    color: var(--text-white);
    line-height: 1;
    margin-top: 4px;
}

.socials-bar {
    flex: 1;
    border: 1px solid var(--border-grid);
    background: var(--bg-card);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.socials-label {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

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

.social-icons a {
    color: var(--text-white);
    font-size: 20px;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: var(--bright-orange);
}

/* SECTION GLOBAL STYLES */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
}

.section-outline-heading {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 72px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
}

.stroke-text {
    font-family: var(--font-heading);
    font-weight: 900;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    color: #1d1d1e;
}

/* ABOUT SECTION */
.about-section {
    border-bottom: 1px solid var(--border-grid);
}

.rp-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rp-visual-box {
    position: relative;
    border: 1px solid var(--border-grid);
    height: 380px;
    overflow: hidden;
    background: #1d1d1e;
}

.rp-stroke-bg {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 80px;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
    color: #1d1d1e;
    z-index: 1;
}

.rp-image-wrapper {
    width: 100%;
    height: 100%;
}

.rp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.rp-text-box {
    border: 1px solid var(--border-grid);
    background: var(--bg-card);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rp-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-white);
}

.rp-sub {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.rp-quote {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 14px;
}

.btn-orange-wide {
    background: var(--bright-orange);
    color: #fff;
    padding: 16px 24px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
    margin-top: 20px;
}

.btn-orange-wide:hover {
    background: var(--bright-orange-hover);
}

/* STEPS SECTION */
.steps-section {
    border-bottom: 1px solid var(--border-grid);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--border-grid);
    background: var(--bg-card);
    padding: 30px 40px;
}

.step-num-box {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 48px;
    color: var(--text-white);
}

.step-desc {
    font-size: 16px;
    color: var(--text-white);
    line-height: 1.5;
}

.btn-orange-tile {
    background: var(--bright-orange);
    color: #fff;
    padding: 16px 28px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    line-height: 1.1;
    transition: background 0.2s ease;
}

.btn-orange-tile:hover {
    background: var(--bright-orange-hover);
}

.ip-widget-box {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-label {
    font-size: 13px;
    color: var(--text-muted);
}

.ip-code {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    padding: 6px 14px;
    font-family: monospace;
    font-size: 15px;
    color: var(--bright-orange);
    font-weight: 700;
}

.btn-copy {
    background: var(--bg-hover);
    border: 1px solid var(--border-grid);
    color: var(--text-white);
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    border-color: var(--bright-orange);
    color: var(--bright-orange);
}

/* DONATE SECTION */
.donate-section {
    border-bottom: 1px solid var(--border-grid);
}

.donate-sub-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: -24px;
    margin-bottom: 30px;
}

.donate-rates-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-grid);
    padding: 18px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.rate-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.rate-badge-divider {
    width: 1px;
    height: 24px;
    background: var(--border-grid);
}

.donate-main-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.donate-form-card, .donate-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-grid);
    padding: 36px;
}

.card-title h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.mode-tab {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    color: var(--text-muted);
    padding: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-tab.active, .mode-tab:hover {
    background: var(--bg-hover);
    border-color: var(--bright-orange);
    color: var(--text-white);
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.input-with-suffix {
    position: relative;
}

.input-with-suffix input, .form-field input[type="text"] {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    padding: 14px 18px;
    color: var(--text-white);
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s ease;
}

.input-with-suffix input:focus, .form-field input[type="text"]:focus {
    border-color: var(--bright-orange);
}

.suffix {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bright-orange);
    font-weight: 700;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.btn-preset {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    color: var(--text-white);
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-preset.active, .btn-preset:hover {
    background: var(--bright-orange);
    border-color: var(--bright-orange);
}

.donate-result-banner {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.res-tag {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.res-val {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 28px;
    color: var(--bright-orange);
}

.bonus-badge {
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid var(--bright-orange);
    color: var(--bright-orange);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pay-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pay-card {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.2s ease;
}

.pay-card.active, .pay-card:hover {
    border-color: var(--bright-orange);
    background: var(--bg-hover);
    color: var(--bright-orange);
}

.btn-submit-donate {
    width: 100%;
    background: var(--bright-orange);
    color: #fff;
    border: none;
    padding: 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.btn-submit-donate:hover {
    background: var(--bright-orange-hover);
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.pkg-row {
    border: 1px solid var(--border-grid);
    background: var(--bg-input);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pkg-row.featured {
    border-color: var(--bright-orange);
}

.pkg-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
}

.pkg-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-pkg {
    background: var(--bg-hover);
    border: 1px solid var(--border-grid);
    color: var(--text-white);
    padding: 8px;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.btn-pkg.active, .btn-pkg:hover {
    background: var(--bright-orange);
    border-color: var(--bright-orange);
}

.security-notes p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* FOOTER */
.footer {
    background: #141415;
    padding: 40px 0;
    border-top: 1px solid var(--border-grid);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot-col-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.foot-col-links {
    display: flex;
    gap: 24px;
}

.foot-col-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.foot-col-links a:hover {
    color: var(--bright-orange);
}

/* MODAL STYLING */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.active {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-grid);
    width: 100%;
    max-width: 500px;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
}

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

.modal-head h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-white);
}

.modal-head p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.summary-list {
    background: var(--bg-input);
    border: 1px solid var(--border-grid);
    padding: 20px;
    margin-bottom: 24px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-muted);
}

.sum-row:last-child {
    margin-bottom: 0;
}

.sum-row b {
    color: var(--text-white);
    font-family: var(--font-heading);
}

.btn-confirm-pay {
    width: 100%;
    background: var(--bright-orange);
    color: #fff;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-confirm-pay:hover {
    background: var(--bright-orange-hover);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-top-grid, .hero-bottom-grid, .rp-content-grid, .donate-main-grid {
        grid-template-columns: 1fr;
    }
    .stroke-title-bg, .section-outline-heading {
        font-size: 54px;
    }
    .grid-col-left, .grid-col-right {
        flex-direction: column;
    }
}
