:root {
    --accent: #f67280;
    --accent-dark: #df5665;
    --white: #ffffff;
    --ink: #24242a;
    --muted: #6e6e78;
    --surface: #ffffff;
    --soft: #f6f6f8;
    --border: #e8e8ed;
    --shadow: 0 16px 45px rgba(34, 34, 45, .08);
    --radius: 18px;
    --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b53849; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #111; color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.15; max-width: 300px; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-nav > a, .site-nav summary { display: block; padding: 10px 11px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; border-radius: 10px; cursor: pointer; list-style: none; }
.site-nav > a:hover, .site-nav summary:hover { color: var(--accent-dark); background: #fff1f3; }
.site-nav details { position: relative; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after { content: " ▾"; color: var(--accent); }
.nav-dropdown { position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.nav-dropdown a { display: block; padding: 9px 10px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav-dropdown a:hover { background: var(--soft); color: var(--accent-dark); }
.nav-toggle { display: none; margin-left: auto; border: 0; border-radius: 10px; background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 800; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; padding-block: 42px 70px; align-items: start; }
.page-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.main-content { min-width: 0; }
.content-card, .list-card, .sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(34,34,45,.045); }
.content-card { padding: clamp(24px, 4vw, 52px); }
.content-header { margin-bottom: 30px; }
.content-header h1, .archive-header h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.content-header time { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 15px; }
.lead { color: var(--muted); font-size: 20px; }
.category-label { display: inline-block; margin-bottom: 10px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.featured-image { display: block; width: 100%; margin: 0 0 32px; border-radius: 16px; }
.article-content .content-header,
.article-content > .entry-content,
.article-content > .featured-image { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }

.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2 { margin: 2.1em 0 .65em; font-size: clamp(26px, 3vw, 38px); line-height: 1.18; letter-spacing: -.02em; }
.entry-content h3 { margin: 1.7em 0 .55em; font-size: 25px; line-height: 1.25; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .35em 0; }
.entry-content figure, .entry-content .content-figure, .entry-content .content-video { margin: 30px 0; }
.entry-content figure img, .entry-content .content-figure img { display: block; width: 100%; border-radius: 16px; }
.entry-content .content-video-frame, .entry-content .media-wrapper { width: 100%; }
.entry-content iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.youtube-lite { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #15151a; box-shadow: 0 14px 38px rgba(22,22,30,.18); }
.youtube-lite > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.youtube-lite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.54)); pointer-events: none; }
.youtube-lite-button { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer; }
.youtube-lite-play { width: 76px; height: 54px; border-radius: 16px; background: #ff0033; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .2s ease, background .2s ease; }
.youtube-lite-play::after { content: ""; display: block; width: 0; height: 0; margin: 16px 0 0 30px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #fff; }
.youtube-lite-label { padding: 6px 12px; border-radius: 999px; background: rgba(18,18,24,.72); font-size: 15px; font-weight: 850; line-height: 1.2; }
.youtube-lite-button:hover .youtube-lite-play, .youtube-lite-button:focus-visible .youtube-lite-play { transform: scale(1.08); background: #e9002e; }
.youtube-lite-button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.youtube-lite.is-playing::after { display: none; }
.youtube-lite iframe { width: 100%; height: 100%; border: 0; }
.youtube-lite-fallback { position: absolute; z-index: 2; left: 16px; bottom: 16px; color: #fff; }
.entry-content blockquote { margin: 28px 0; padding: 22px 26px; background: #fff3f4; border-left: 5px solid var(--accent); border-radius: 0 14px 14px 0; }
.starter-server-card {
    margin: 28px 0 20px;
    padding: 19px 21px;
    border: 1px solid #c7e5d0;
    border-radius: 14px;
    background: #edf8f0;
    box-shadow: 0 8px 24px rgba(36,117,71,.08);
}
.starter-server-inner { display: flex; align-items: center; gap: 16px; }
.starter-server-mark { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #31945a; box-shadow: 0 6px 14px rgba(49,148,90,.2); }
.starter-server-mark::before { content: ""; position: absolute; left: 15px; top: 11px; width: 11px; height: 17px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.starter-server-copy { min-width: 0; }
.starter-server-kicker {
    display: block;
    margin-bottom: 3px;
    color: #247547;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.entry-content .starter-server-title { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.45; }
.entry-content pre { max-width: 100%; overflow: auto; padding: 20px; background: #24242a; color: #fff; border-radius: 14px; }
.entry-content .button, .button, a.single_add_to_cart_button.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.entry-content .button:hover, .button:hover, a.single_add_to_cart_button.button.alt:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(246,114,128,.25); }
.button-secondary { background: #2f3240; }
.button-secondary:hover { background: #191b22; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.sidebar { display: grid; gap: 20px; position: sticky; top: 112px; }
.sidebar-card { padding: 24px; }
.sidebar-card h2 { margin: 0 0 16px; font-size: 20px; }
.search-form { display: grid; gap: 10px; }
.search-form input { min-width: 0; border: 1px solid var(--border); border-radius: 11px; padding: 11px 13px; background: var(--soft); }
.search-form button { border: 0; border-radius: 11px; padding: 11px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 800; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li + li { border-top: 1px solid var(--border); }
.recent-list a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.recent-list a:hover { color: var(--accent-dark); }

.archive-header { margin-bottom: 24px; }
.card-list { display: grid; gap: 22px; }
.list-card { display: grid; grid-template-columns: minmax(170px, 30%) 1fr; overflow: hidden; }
.card-image { min-height: 220px; background: #eee; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.16; }
.card-body h2 a { color: var(--ink); text-decoration: none; }
.card-body p { color: var(--muted); }
.read-more { font-weight: 800; }

.archive-header-original { padding: 34px 38px; }
.archive-header-original h1 { font-size: clamp(38px, 5vw, 64px); }
.archive-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.archive-card-grid .list-card { display: flex; flex-direction: column; min-height: 100%; }
.archive-card-grid .card-image { display: block; min-height: 220px; aspect-ratio: 16 / 9; }
.archive-card-grid .card-body { display: flex; flex: 1; flex-direction: column; padding: 30px; }
.archive-card-grid .card-body h2 { font-size: clamp(25px, 2.4vw, 34px); }
.archive-card-grid .card-body p { flex: 1; }

.archive-card-grid-redux { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-card-grid-redux .list-card { display: flex; min-width: 0; flex-direction: column; }
.archive-card-grid-redux .card-image { position: relative; display: block; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; background: linear-gradient(135deg, #24242a, #51515e); }
.archive-card-grid-redux .card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(10,10,14,.38)); pointer-events: none; }
.archive-card-grid-redux .card-image img { transition: transform .3s ease; }
.archive-card-grid-redux .list-card:hover .card-image img { transform: scale(1.035); }
.archive-card-grid-redux .card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.archive-card-grid-redux .card-body h2 { font-size: clamp(22px, 2vw, 29px); }
.archive-card-grid-redux .card-body p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.archive-card-grid-redux .read-more { margin-top: auto; }
.redux-card-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 42px; border-radius: 13px; background: rgba(255,0,51,.94); transform: translate(-50%, -50%); box-shadow: 0 10px 25px rgba(0,0,0,.26); }
.redux-card-play::after { content: ""; display: block; width: 0; height: 0; margin: 12px 0 0 23px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid #fff; }
.redux-card-fallback { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; color: #fff; letter-spacing: .12em; }
.redux-card-fallback strong { font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.redux-card-fallback small { margin-top: 8px; color: #ff9aa4; font-weight: 900; }

.redux-content { overflow: hidden; }
.redux-content .content-header, .redux-content .entry-content, .redux-content .download-panel { width: min(100%, 1040px); margin-left: auto; margin-right: auto; }
.redux-content .content-header { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.redux-content .entry-content { font-size: 18px; }
.redux-content .entry-content > .content-video:first-child, .redux-content .entry-content > figure:first-child { margin-top: 0; }
.redux-content .download-panel { margin-top: 36px; padding: clamp(22px, 4vw, 34px); background: linear-gradient(135deg, #fff2f4, #f7f7fa); }
.redux-content .download-panel h2 { margin-bottom: 18px; }

.youtube-directory { padding: clamp(24px, 3vw, 40px); }
.youtube-directory-header { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr); gap: 32px; align-items: center; margin-bottom: 34px; }
.youtube-directory-header h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.035em; }
.youtube-directory-header p { color: var(--muted); font-size: 19px; }
.youtube-referral-banner { display: grid; grid-template-columns: minmax(210px, 1.1fr) minmax(170px, .9fr); align-items: center; overflow: hidden; border-radius: 16px; background: #17171d; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.youtube-referral-banner:hover { color: #fff; transform: translateY(-1px); }
.youtube-referral-banner img { display: block; width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.youtube-referral-banner span { display: grid; gap: 8px; padding: 22px; line-height: 1.25; }
.youtube-referral-banner strong { font-size: 20px; }
.youtube-referral-banner small { color: #d6d6dc; }
.youtube-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 15px; }
.youtube-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.youtube-table th, .youtube-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.youtube-table thead th { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.youtube-table tbody tr:last-child th, .youtube-table tbody tr:last-child td { border-bottom: 0; }
.youtube-table tbody tr:hover { background: #fff8f9; }
.youtube-table a { overflow-wrap: anywhere; }
.table-register { display: inline-flex; justify-content: center; padding: 9px 13px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.table-register:hover { background: var(--accent-dark); color: #fff; }

.profile-summary, .download-panel { margin-top: 30px; padding: 26px; background: var(--soft); border: 1px solid var(--border); border-radius: 16px; }
.profile-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 22px; }
.profile-summary dl div { padding: 16px; background: #fff; border-radius: 12px; }
.profile-summary dt { color: var(--muted); font-size: 13px; }
.profile-summary dd { margin: 4px 0 0; font-weight: 900; }
.profile-summary dd a { color: var(--ink); }
.profile-bonus { margin: 18px 0 0; color: var(--muted); }
.download-panel h2 { margin-top: 0; }

.error-page { text-align: center; }
.error-code { margin: 0; color: var(--accent); font-weight: 900; font-size: clamp(80px, 15vw, 180px); line-height: .9; }
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1020px) {
    .header-inner { flex-wrap: wrap; padding-block: 12px; }
    .brand { max-width: calc(100% - 100px); }
    .nav-toggle { display: block; }
    .site-nav { display: none; width: 100%; margin: 0; align-items: stretch; flex-direction: column; padding: 12px; border-radius: 14px; background: var(--soft); }
    .site-nav.open { display: flex; }
    .site-nav > a, .site-nav summary { padding: 12px; }
    .nav-dropdown { position: static; margin-top: 6px; box-shadow: none; }
    .page-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-card-grid-redux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .youtube-directory-header { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .container { width: min(calc(100% - 22px), var(--container)); }
    .header-inner { min-height: 72px; }
    .brand span { font-size: 14px; }
    .brand img { width: 46px; height: 46px; }
    .page-grid { padding-block: 22px 45px; gap: 22px; }
    .content-card { padding: 24px 20px; border-radius: 14px; }
    .content-header h1, .archive-header h1 { font-size: 36px; }
    .entry-content h2 { font-size: 28px; }
    .list-card { grid-template-columns: 1fr; }
    .card-image { min-height: 200px; }
    .card-body { padding: 22px; }
    .sidebar { grid-template-columns: 1fr; }
    .archive-card-grid { grid-template-columns: 1fr; gap: 20px; }
    .archive-card-grid-redux { grid-template-columns: 1fr; }
    .archive-header-original { padding: 26px 22px; }
    .youtube-directory { padding: 22px 16px; }
    .youtube-directory-header { gap: 20px; }
    .youtube-referral-banner { grid-template-columns: 1fr; }
    .youtube-referral-banner img { min-height: 0; aspect-ratio: 559 / 233; }
    .youtube-table-wrap { overflow: visible; border: 0; }
    .youtube-table, .youtube-table tbody, .youtube-table tr, .youtube-table th, .youtube-table td { display: block; width: 100%; }
    .youtube-table thead { display: none; }
    .youtube-table tbody { display: grid; gap: 16px; }
    .youtube-table tr { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(34,34,45,.05); }
    .youtube-table th, .youtube-table td { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 12px; padding: 12px 14px; text-align: right; }
    .youtube-table th::before, .youtube-table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
    .youtube-table th { text-align: right; }
    .table-register { white-space: normal; }
    .profile-summary dl { grid-template-columns: 1fr; }
    .youtube-lite-play { width: 64px; height: 46px; border-radius: 14px; }
    .youtube-lite-play::after { margin: 13px 0 0 26px; border-top-width: 10px; border-bottom-width: 10px; border-left-width: 16px; }
    .button-row, .button-row .button { width: 100%; }
    .starter-server-card { margin-top: 24px; padding: 16px; }
    .starter-server-inner { align-items: flex-start; gap: 13px; }
    .starter-server-mark { flex-basis: 38px; width: 38px; height: 38px; }
    .starter-server-mark::before { left: 13px; top: 9px; width: 10px; height: 15px; }
    .starter-server-kicker { font-size: 18px; }
    .entry-content .starter-server-title { font-size: 16px; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
}


.site-nav a[aria-current="page"] {color:var(--accent-dark);background:#fff1f3;}
.copy-row {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0;padding:20px;background:#fff3f4;border-radius:14px;}
.copy-row code {font-size:26px;font-weight:800;letter-spacing:.1em;color:var(--ink);user-select:all;}
.copy-row button {border:0;border-radius:9px;padding:9px 16px;background:var(--accent-dark);color:white;cursor:pointer;}
.copy-status {font-size:14px;color:var(--muted);}
.promo-links {display:flex;gap:10px;flex-wrap:wrap;margin:30px 0;}
.promo-links a {padding:8px 14px;border:1px solid var(--border);border-radius:10px;text-decoration:none;}
.entry-content img[src$="promo1.jpg"] {max-width:495px;}
.server-list {columns:3;column-gap:28px;}
.server-list li {break-inside:avoid;}
.entry-content a {overflow-wrap:anywhere;}
@media(max-width:680px){.server-list{columns:2;}.header-inner{gap:12px;}.brand{flex:1;min-width:0;max-width:none;}.brand img{flex-shrink:0;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*{transition:none!important;}}

.server-list--gta5rp {display:grid;grid-auto-flow:column;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,auto);column-gap:28px;columns:auto;}
@media(max-width:680px){.server-list--gta5rp{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);}}

.server-list--majestic {display:grid;grid-auto-flow:column;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(7,auto);column-gap:28px;columns:auto;}
@media(max-width:680px){.server-list--majestic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(10,auto);}}
