/* Raze Hosting - shared theme */
:root {
    --background: #141627;
    --dark: #1c1f37;
    --light-dark: #252a43;
    --white: #ffffff;
    --light: #cdcfe3;
    --gray: #7d819a;
    --blue: #0195f4;
    --blue-soft: rgba(1, 149, 244, 0.10);
    --blue-border: rgba(1, 149, 244, 0.24);
    --green: #20bf6c;
    --red: #fd5c65;
    --yellow: #fed230;
    --purple: #a75eea;
    --radius: 12px;
    --radius-sm: 9px;
    --shadow: 0 16px 42px rgba(7, 9, 20, 0.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--light);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: inherit; }
::selection { background: rgba(1, 149, 244, 0.32); color: var(--white); }
.container-custom { max-width: 1260px; }
.blue { color: var(--blue) !important; }
.text-muted-raze { color: var(--gray) !important; }

/* Navigation */
.navbar-dark {
    padding: 22px 0;
    transition: padding .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.navbar.fixed-top.scrolled {
    padding: 13px 0;
    background: rgba(20, 22, 39, 0.94);
    box-shadow: 0 10px 35px rgba(5, 7, 16, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white) !important;
    font-size: 17px;
    font-weight: 600 !important;
    letter-spacing: -.01em;
}
.navbar-brand span { color: var(--blue); font-weight: 800; }
.navbar-brand .brand-logo,
.footer-brand .brand-logo {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}
.navbar .navbar-nav { align-items: center; }
.navbar .navbar-nav .nav-link {
    padding: .65rem .78rem;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .01rem;
    transition: color .18s ease;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link.active { color: var(--blue); }
.navbar-toggler { border: 0 !important; box-shadow: none !important; padding: 5px; }
.navbar .client-button {
    margin-left: 12px;
    padding: 8px 20px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    background: var(--blue);
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.navbar .client-button:hover {
    background: transparent;
    color: var(--blue) !important;
    box-shadow: 0 0 14px rgba(1, 149, 244, .18);
}
.dropdown-menu {
    min-width: 220px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 11px;
    background: var(--light-dark);
    box-shadow: var(--shadow);
}
.dropdown-menu .dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--light);
    font-size: 14px;
    font-weight: 500;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: var(--dark);
    color: var(--white);
}
.dropdown-menu .dropdown-item span {
    display: block;
    color: var(--gray);
    font-size: 11px;
    font-weight: 400;
}
.dropdown-item .menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 7px;
    object-fit: contain;
}

/* Shared buttons */
.raze-btn,
.btn-raze,
.plans .card .card-body a,
.hero .hero_content .btn,
.minecraft .minecraft_content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 25px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.raze-btn:hover,
.btn-raze:hover,
.plans .card .card-body a:hover,
.hero .hero_content .btn:hover,
.minecraft .minecraft_content .btn:hover {
    background: transparent;
    color: var(--blue);
    box-shadow: 0 0 14px rgba(1, 149, 244, .18);
    transform: translateY(-1px);
}
.raze-btn-secondary {
    border-color: rgba(255,255,255,.08);
    background: var(--dark);
    color: var(--white);
}
.raze-btn-secondary:hover { border-color: var(--blue); background: var(--dark); color: var(--blue); }

/* Shared hero */
.page-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    padding: 165px 0 95px;
    background-color: var(--background);
    background-position: center;
    background-size: cover;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,22,39,.98) 0%, rgba(20,22,39,.88) 48%, rgba(20,22,39,.45) 100%);
}
.page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 95px;
    background: linear-gradient(to bottom, transparent, var(--background));
}
.hero-home {
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image: url("../images/hero.webp");
}
.hero-fivem { background-image: url("../images/hero/fivem.webp"); }
.hero-minecraft { background-image: url("../images/hero/minecraft.webp"); }
.hero-vps { background-image: url("../images/hero/vps.webp"); }
.hero-partners { background-image: url("../images/hero/partners.webp"); }
.hero-legal { background-image: url("../images/hero/legal.webp"); }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding: 6px 12px;
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
}
.page-hero h1 {
    max-width: 720px;
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.page-hero h1 span { color: var(--blue); }
.hero-copy {
    max-width: 650px;
    margin: 0 0 25px;
    color: var(--light);
    font-size: 16px;
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 28px;
    color: var(--light);
    font-size: 12px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { color: var(--blue); }

/* Shared sections */
.raze-section { padding: 78px 0; }
.raze-section.alt { background: var(--dark); }
.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-heading .section-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.section-heading h2 {
    margin: 0 0 9px;
    color: var(--white);
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -.02em;
}
.section-heading p { margin: 0; color: var(--light); font-size: 14px; }

/* Cards */
.raze-card {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.035);
    border-radius: var(--radius);
    background: var(--dark);
    box-shadow: 0 8px 24px rgba(5,7,17,.06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.alt .raze-card { background: var(--light-dark); }
.raze-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1,149,244,.18);
    box-shadow: 0 15px 32px rgba(5,7,17,.13);
}
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 20px;
}
.raze-card h3 { margin: 0 0 7px; color: var(--white); font-size: 18px; font-weight: 600; }
.raze-card p { margin: 0; color: var(--light); font-size: 13px; }

/* Services */
.service-card { display: flex; flex-direction: column; }
.service-card .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
    object-fit: contain;
}
.service-card .service-price { margin: 12px 0 17px; color: var(--white); font-size: 21px; font-weight: 700; }
.service-card .service-price span { color: var(--gray); font-size: 12px; font-weight: 400; }
.service-card .raze-btn { margin-top: auto; align-self: flex-start; }

/* Plan cards */
.plan-grid .plan-column { display: flex; }
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.035);
    border-radius: var(--radius);
    background: var(--dark);
    box-shadow: 0 8px 28px rgba(5,7,17,.08);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(1,149,244,.18); box-shadow: 0 16px 34px rgba(5,7,17,.14); }
.plan-card.is-popular { border-color: var(--blue); box-shadow: 0 10px 30px rgba(1,149,244,.08); }
.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    padding: 5px 13px;
    border-radius: 7px;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    white-space: nowrap;
}
.plan-head { padding: 25px 22px 17px; text-align: center; }
.plan-head h3 { margin: 0 0 5px; color: var(--white); font-size: 23px; font-weight: 700; }
.plan-head p { min-height: 20px; margin: 0; color: var(--gray); font-size: 12px; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 23px; }
.plan-price {
    margin-bottom: 21px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    font-size: 23px;
    font-weight: 700;
}
.plan-price span { font-size: 13px; font-weight: 500; }
.plan-features { flex: 1; margin: 0; padding: 0; list-style: none; }
.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--light);
    font-size: 13px;
}
.plan-features i { width: 25px; margin-right: 5px; color: var(--blue); text-align: center; }
.plan-features strong { color: var(--white); font-weight: 600; }
.plan-action { margin-top: 18px; }
.plan-action .raze-btn { width: 100%; }
.plan-note { margin: 24px 0 0; color: var(--gray); font-size: 12px; text-align: center; }

/* Minecraft plan icon variant */
.plan-card.has-plan-icon { margin-top: 58px; }
.plan-card .plan-icon {
    position: absolute;
    top: -59px;
    left: 50%;
    width: 112px;
    height: 112px;
    transform: translateX(-50%);
    object-fit: contain;
}
.plan-card.has-plan-icon .plan-head { padding-top: 65px; }

/* VPS list */
.vps-list { display: grid; gap: 14px; }
.vps-plan {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr .95fr .95fr .95fr 1.25fr;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.035);
    border-radius: var(--radius);
    background: var(--dark);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vps-plan:hover { transform: translateY(-2px); border-color: rgba(1,149,244,.18); box-shadow: 0 12px 28px rgba(5,7,17,.11); }
.vps-plan.is-popular { border-color: var(--blue); }
.vps-badge { position: absolute; top: -11px; right: 20px; padding: 4px 11px; border-radius: 7px; background: var(--blue); color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.vps-name h3 { margin: 0 0 3px; color: var(--white); font-size: 18px; font-weight: 700; }
.vps-name span { color: var(--gray); font-size: 11px; }
.vps-resource { display: flex; align-items: center; gap: 10px; }
.vps-resource .resource-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 8px; background: var(--light-dark); color: var(--blue); }
.vps-resource strong { display: block; color: var(--white); font-size: 14px; font-weight: 600; }
.vps-resource span { display: block; color: var(--gray); font-size: 10px; }
.vps-buy { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.vps-price { text-align: right; }
.vps-price strong { display: block; color: var(--white); font-size: 18px; font-weight: 700; }
.vps-price span { display: block; color: var(--gray); font-size: 10px; }
.vps-buy .raze-btn { padding: 8px 16px; font-size: 12px; white-space: nowrap; }

/* Split panels */
.split-section { padding: 76px 0; }
.split-section.alt { background: var(--dark); }
.media-frame {
    padding: 9px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: var(--radius);
    background: var(--light-dark);
}
.media-frame img { display: block; width: 100%; border-radius: 8px; }
.split-copy { padding-left: 35px; }
.split-copy .section-kicker { display: block; margin-bottom: 6px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.split-copy h2 { margin: 0 0 10px; color: var(--white); font-size: 30px; font-weight: 700; }
.split-copy p { color: var(--light); font-size: 14px; }
.check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { margin-bottom: 9px; color: var(--light); font-size: 13px; }
.check-list i { margin-right: 7px; color: var(--blue); }

/* OS / software chips */
.logo-card { height: 100%; padding: 24px 18px; border-radius: var(--radius); background: var(--dark); text-align: center; transition: transform .2s ease, background .2s ease; }
.alt .logo-card { background: var(--light-dark); }
.logo-card:hover { transform: translateY(-3px); }
.logo-card img { width: 60px; height: 60px; margin-bottom: 13px; object-fit: contain; }
.logo-card h3 { margin: 0; color: var(--white); font-size: 16px; font-weight: 600; }
.server-software-shell { padding: 24px; border-radius: var(--radius); background: var(--dark); }
#servertypes .item { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 10px; }
#servertypes img { width: auto !important; max-width: 115px; height: 47px; object-fit: contain; transition: transform .2s ease; }
#servertypes img:hover { transform: scale(1.05); }

/* Simple protection card */
.protection-card {
    padding: 34px;
    border-radius: var(--radius);
    background: var(--dark);
}
.alt .protection-card { background: var(--light-dark); }
.protection-icon {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--light-dark);
    color: var(--blue);
    font-size: 43px;
}
.alt .protection-icon { background: var(--dark); }
.protection-card h2 { margin: 0 0 10px; color: var(--white); font-size: 29px; font-weight: 700; }
.protection-card p { margin: 0; color: var(--light); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 11px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--dark); }
.alt .faq-item { background: var(--light-dark); }
.faq-item h3 { margin: 0 0 6px; color: var(--white); font-size: 15px; font-weight: 600; }
.faq-item p { margin: 0; color: var(--light); font-size: 13px; }

/* Legal */
.legal-shell { max-width: 980px; margin: 0 auto; padding: 34px; border-radius: var(--radius); background: var(--dark); }
.legal-shell > h1 { margin: 0 0 8px; color: var(--white); font-size: 30px; font-weight: 700; }
.legal-shell h2 { margin-top: 30px; color: var(--white); font-size: 21px; font-weight: 600; }
.legal-shell p, .legal-shell li { color: var(--light); font-size: 14px; }
.legal-shell a { color: var(--blue); }
.legal-shell strong { color: var(--white); }
.legal-shell ul { padding-left: 22px; }

/* CTA */
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border: 1px solid rgba(1,149,244,.16);
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--dark), rgba(1,149,244,.08));
}
.cta-box h2 { margin: 0 0 5px; color: var(--white); font-size: 25px; font-weight: 700; }
.cta-box p { margin: 0; color: var(--light); font-size: 13px; }

/* Footer */
footer {
    padding: 56px 0 28px;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.035);
}
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 18px; font-weight: 700; text-decoration: none; }
.footer-brand span { color: var(--blue); }
.footer-copy { max-width: 300px; margin-top: 12px; color: var(--gray); font-size: 12px; }
footer h4 { margin-bottom: 13px; color: var(--white); font-size: 15px; font-weight: 600; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin-bottom: 7px; }
footer a { color: var(--light); font-size: 12px; text-decoration: none; transition: color .18s ease; }
footer a:hover { color: var(--blue); }
.footer-bottom { margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.04); color: var(--gray); font-size: 11px; }

/* Legacy compatibility */
.header { position: relative; padding: 150px 0 90px; background-position: center; background-size: cover; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(20,22,39,.70); }
.header .container-custom { position: relative; z-index: 1; }
.header h2 { margin: 0 0 7px; color: var(--white); font-size: 36px; font-weight: 800; text-transform: none; }
.header p { margin: 0; color: var(--light); }
.minecraft-h { background-image: url("../images/hero/minecraft.webp"); }
.fivem-h { background-image: url("../images/hero/fivem.webp"); }
.vps-h { background-image: url("../images/hero/vps.webp"); }
.partners-h { background-image: url("../images/hero/partners.webp"); }
.legal-h { background-image: url("../images/hero/legal.webp"); }
.plans .card { border: 0; border-radius: var(--radius); background: var(--dark); box-shadow: 0 8px 24px rgba(5,7,17,.08); }
.plans .card .card-header { border: 0; background: transparent; }
.plans .card .card-header h2 { color: var(--white); font-size: 23px; font-weight: 700; }
.plans .card .card-price { background: var(--blue); color: var(--white); font-size: 23px; font-weight: 700; }
.plans .card .card-body ul li { color: var(--light); font-size: 14px; line-height: 2.4; }
.plans .card .card-body ul li i { color: var(--blue); }
.panel { background: var(--dark); }
.panel .panel_content h2, .ddos .ddos_content h2 { color: var(--white); font-weight: 600; }
.panel .panel_content ul { padding: 0; list-style: none; }
.panel .panel_content ul li { margin-bottom: 8px; }
.panel .panel_content ul li i { color: var(--blue); }
.ddosa1,.ddosa2 { fill: none; stroke: #2f334b; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10; }
.ddosa3 { fill: var(--blue); stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10; }

/* Responsive */
@media (max-width: 1199px) {
    .vps-plan { grid-template-columns: 1.2fr .9fr .9fr 1.2fr; }
    .vps-plan .vps-resource.storage { display: none; }
}
@media (max-width: 991px) {
    .navbar-dark { padding: 14px 0; background: rgba(20,22,39,.96); }
    .navbar .navbar-nav { align-items: stretch; padding-top: 12px; }
    .navbar .navbar-nav .nav-link { padding: .55rem 0; text-align: left; }
    .navbar .client-button { margin: 10px 0 4px; text-align: center; }
    .dropdown-menu { margin-top: 0 !important; box-shadow: none; }
    .page-hero { min-height: 460px; padding: 145px 0 80px; }
    .hero-home { min-height: 650px; }
    .split-copy { padding: 30px 0 0; }
    .vps-plan { grid-template-columns: 1fr 1fr; }
    .vps-plan .vps-resource.storage { display: flex; }
    .vps-buy { justify-content: flex-start; }
    .vps-price { text-align: left; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
    .raze-section, .split-section { padding: 60px 0; }
    .page-hero { min-height: auto; padding: 135px 0 65px; text-align: center; }
    .hero-home { min-height: 610px; }
    .page-hero::before { background: rgba(20,22,39,.80); }
    .hero-content { margin: 0 auto; }
    .hero-actions, .hero-meta { justify-content: center; }
    .page-hero h1 { font-size: 38px; }
    .hero-copy { font-size: 14px; }
    .legal-shell { padding: 25px 20px; }
}
@media (max-width: 575px) {
    .navbar-brand { font-size: 15px; }
    .navbar-brand .brand-logo { width: 32px; height: 32px; }
    .vps-plan { grid-template-columns: 1fr; }
    .vps-buy { justify-content: space-between; }
    .cta-box { padding: 25px 22px; }
}
/* Non-game hero backgrounds */
.hero-web {
    background-image:
        radial-gradient(circle at 75% 35%, rgba(1,149,244,.20), transparent 30%),
        linear-gradient(120deg, #141627 0%, #1c1f37 55%, #202742 100%);
}
.hero-discord {
    background-image:
        radial-gradient(circle at 75% 35%, rgba(114,137,218,.18), transparent 30%),
        linear-gradient(120deg, #141627 0%, #1c1f37 55%, #252a43 100%);
}
.hero-web::before,
.hero-discord::before { background: linear-gradient(90deg, rgba(20,22,39,.72), rgba(20,22,39,.25)); }
