html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    position: relative;
    height: 100%;

    @media only screen and (max-width: 768px) {
        padding-left: 15px;
        padding-right: 15px;
    }
}

html {
    font: 15px / 1.4 sans-serif;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    font-family: 'Roboto Flex', sans-serif;
    color: var(--text-color);
}

header {
    background: var(--header-bg);
}

.body {
    background-color: var(--bg-color);
    background-image: url("https://cdn.paynow.gg/images/templates/gord/bg-blur.png");
    object-fit: cover;
}

.index-section h1 {
    font-family: Rajdhani;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    color: #F4F4F5;
}

.social-media {
    width: 20%;
}

.header-account {
    width: 20%;
}

.social-media li a i {
    font-size: 20px;
    color: #fff;
}

.social-media li a i {
    padding: 10px 8px;
    background: var(--first-color);
    border-radius: 2px;
    width: 40px;
    height: 40px;
    text-align: center;
}

.topbar {
    background: var(--first-color);
    padding: var(--spacing-s);
}

.social-media li a.twitch i {
    background: #9147FF;
}

.social-media-item.discord i {
    background: #5865F2;
}

.social-media-item.youtube i {
    background: #DC2626;
}

.social-media-item.twitter i {
    background: black;
}

.social-media-item.instagram i {
    background: #ff00a5;
}

.social-media-item.facebook i {
    background: #3146dd;
}

.topbar {
    background: var(--panel-body);
    padding: var(--spacing-s);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

li.nav-item a {
    font-family: 'Rajdhani';
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
    text-transform: uppercase;
}

li.nav-item a:hover {
    color: var(--hover-color);
}

li.nav-item.active a {
    color: var(--main-color);
}

li.nav-item a i {
    opacity: 0.4;
}

li.nav-item a {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    align-items: center;
}

.module {
    background: linear-gradient(0deg, #18181B, #18181B), linear-gradient(180deg, rgba(39, 39, 42, 0.2) 0%, rgba(24, 24, 27, 0) 21.88%);
    border-radius: var(--border-radius);
    border: var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.home-content {
    background: linear-gradient(0deg, #18181B, #18181B), linear-gradient(180deg, rgba(39, 39, 42, 0.2) 0%, rgba(24, 24, 27, 0) 21.88%);
    border-radius: var(--border-radius);
    border: var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.module-body {
    padding: var(--spacing-s);
}

h2.module-title {
    font-family: Rajdhani;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    text-transform: uppercase;
    color: #F4F4F5;
    position: absolute;
    margin-top: -24px;
    margin-left: 10px;
}

.index-section {
    background: linear-gradient(0deg, #18181B, #18181B), linear-gradient(180deg, rgba(39, 39, 42, 0.2) 0%, rgba(24, 24, 27, 0) 21.88%);
    border-radius: var(--border-radius);
    border: var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.index-section>h1 {
    text-align: left;
    position: absolute;
    margin-top: -24px;
    margin-left: 10px;
}

.index-section-body {
    padding: var(--spacing-m) var(--spacing-s);
}

.index-section-body p {
    margin-bottom: var(--spacing-s);
}

.index-section-body a {
    padding: var(--spacing-xs) var(--spacing-s);
    background: var(--button);
    color: #fff;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-align: left;
    font-family: 'Rajdhani';
    text-transform: uppercase;
}

.home-content-sec {
    padding: var(--spacing-m) var(--spacing-s);
}

h1.home-content-tit {
    font-family: Rajdhani;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    text-align: left;
    color: #F4F4F5;
    text-transform: uppercase;
}

.progress-bar {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    height: 12px;
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}

@keyframes pulseOpacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

input {
    background: var(--input);
    border-color: var(--border-color) !important;
    border-radius: var(--border-radius) !important;
}

:focus-visible {
    outline: 0;
}

input:focus-visible {
    outline-offset: 0px;
}

.payment-goal {
    background: var(--first-color);
    border-radius: 50px;
    width: 100%;
    height: 12px;
    overflow: hidden;
}

.goal-current {
    font-family: Roboto Flex;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: var(--spacing-s);
}

.payment-goal-display {
    display: flex;
    justify-content: space-between;
}

.payment-goal-data {
    text-align: center;
    text-align: -webkit-center;
    font-family: Roboto Flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: var(--text-color);
}

.payment-max {
    font-family: Roboto Flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: var(--text-color);
}

.btn-gift {
    background: var(--button);
    border-color: var(--button);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.btn:hover {
    background: var(--button);
    filter: contrast(0.8);
    transition: var(--transition);
}

.btn {
    font-weight: 700;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: var(--border-radius);
    background: var(--button);
    border-color: var(--button);
    cursor: pointer;
    transition: var(--transition);
}

.error-msg {
    background: #d75252;
    margin: var(--spacing-s);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'Rajdhani';
    margin-top: 0;
}

.success-msg {
    background: #52d787;
    margin: var(--spacing-s);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'Rajdhani';
    margin-top: 0;
}

.header-item svg {
    height: 24px;
}

.header-item {
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
    background: var(--second-color);
    border-radius: var(--border-radius);
    border: 1px solid #3F3F4640;
    position: relative;
}

.header-item:first-child {
    padding: 0;
}

span.cart-number {
    position: absolute;
    top: -11px;
    right: -11px;
    height: 22px;
    width: 22px;
    background: var(--main-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Roboto Flex;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #fff;
}

.category-package {
    background: linear-gradient(0deg, #18181B, #18181B), linear-gradient(180deg, rgba(39, 39, 42, 0.2) 0%, rgba(24, 24, 27, 0) 21.88%);
    border: var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

span.category-package-name {
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
}

.category-package-details {
    padding: var(--spacing-s);
}

.package-bott {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    padding: var(--spacing-s) var(--spacing-xs);
    border-top: var(--border);
    position: relative;
    overflow: hidden;
    background: var(--second-color);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.category-package-price-list {
    font-family: Roboto Flex;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    color: #fff;
}

.category-package-buttons {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: var(--spacing-xs);
}

.btn-svg span {
    color: #FAFAFA;
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    text-transform: uppercase;
}

.btn-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.category-package-buttons a {
    border-radius: 0;
    height: 35px;
}

.category-package-price-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
}

.btn-modal svg {
    height: 36px;
}

.btn-modal {
    width: 40px;
    padding: 0;
    height: 35px;
}

.category-page {
    text-align: center;
    text-align: -webkit-center;
}

h2.category-title {
    font-family: Rajdhani;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    text-align: center;
    color: #F4F4F5;
}

.category-description {
    font-family: Roboto Flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: var(--text-color);
}

span.category-package-price-disc {
    color: #d96969;
    font-size: 12px;
    text-decoration: line-through;
}




.footer-copyright {
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

footer {
    background: var(--footer-bg);
    padding: var(--spacing-m) 0;
    border-top: 1px solid var(--border-color);
}

.footer-links a {
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    text-transform: uppercase;
}

a:hover {
    color: #fff;
    transition: var(--transition);
    text-decoration: none;
}

.footer-copyright span {
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #71717A;
    text-transform: uppercase;
}

.product-page,
.product-description {
    background: var(--panel-body);
    box-shadow: var(--shadow);
    border: var(--border);
    border-radius: var(--border-radius);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1280px !important;
    }
}

.product-page-image {
    padding: var(--spacing-s);
    background: #27272A40;
}

img.product-img {
    max-height: 15rem;
    width: auto;
}

.product-page-details {
    padding: var(--spacing-m) var(--spacing-s);
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-family: Rajdhani;
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    color: #fff;
}

.product-price {
    font-family: Rajdhani;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
    color: #F4F4F5;
}

.product-details-top span {
    font-family: Roboto Flex;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: var(--text-color);
}

.small-title span {
    font-family: Rajdhani;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
}

.small-title svg path {
    fill: var(--main-color);
}

.small-title {
    display: flex;
    align-items: center;
}

span.product-det-border {
    width: 100%;
    background: #27272A;
    height: 2px;
    margin-left: var(--spacing-xs);
}

.product-description {
    padding: var(--spacing-m);
}

button.add-btn {
    background: var(--button);
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
}

button#giftButton {
    background: #3374ed;
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
}

button#purchaseFromGift {
    background: var(--button);
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
}

button#closeGift {
    background: #e36060;
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
}

span.cart-page-title {
    font-family: Rajdhani;
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    text-align: left;
    color: #F4F4F5;
    text-transform: uppercase;
}

.nr-item {
    font-family: Rajdhani;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    align-self: center;
    color: #F4F4F5;
}

hr {
    border-color: #27272A;
}

table {
    max-width: 100%;
    background-color: transparent;
    width: 100%;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    padding: 15px 8px;
    line-height: 1.42857143;
    vertical-align: top;
    text-align: left;
    align-content: center;
}

table tbody td {
    vertical-align: middle;
}

table>thead>tr>th {
    vertical-align: bottom;
}

table tbody .image {
    width: 10%;
    text-align: center;
    align-content: center;
}

table tbody .name {
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: var(--spacing-xs);
}

table tbody .options {
    width: 25%;
    text-align: center;
}

table tbody .price {
    width: 15%;
    text-align: center;
}

table tbody .quantity {
    width: 5%;
    text-align: center;
}

table tbody .total {
    width: 15%;
    text-align: center;
}

table tbody .close {
    width: 5%;
    text-align: center;
}

table input {
    width: 40px;
    text-align: center;
}

tbody tr {
    background: var(--panel-body);
    border-top: var(--spacing-xs) solid #1b1b1b;
}

tbody tr:first-child {
    border: none;
}

.table>thead>tr>th {
    text-transform: uppercase;
    font-family: Rajdhani;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    color: #fff;
}

td.image {
    background: var(--second-color);
    padding: var(--spacing-xs) !important;
}

td.image .product-img {
    height: 65px;
    width: auto;
}

td.name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: center;
    gap: var(--spacing-xs);
}

span.product-name {
    font-family: Rajdhani;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
}

.name-sec {
    font-family: Roboto Flex;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    color: #A1A1AA;
}

td.price span {
    font-family: Rajdhani;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #A1A1AA;
}

td.total span {
    font-family: Rajdhani;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #fff;
}

td.close {
    align-content: center;
}

table tbody .close a i {
    font-size: 20px;
    font-weight: 600;
}

.remove-btn {
    background: #E11D48;
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #ffffff3d;
}

a.add-btn {
    background: var(--button);
    padding: var(--spacing-xs) var(--spacing-s);
    border: var(--border);
    font-family: Rajdhani;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #FFFFFF66;
    width: 100%;
}

.subtotal span {
    font-family: Rajdhani;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #A1A1AA;
    text-transform: uppercase;
}

.subtotal p {
    font-family: Rajdhani;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: right;
    color: #fff;
}

/* ===== Royal Rust Styling (Handlebars-safe) ===== */
:root {
  --royal-primary: #5b3fa3;
  --royal-dark: #2a1b4f;
  --royal-accent: #a855f7;
}

body {
  background: var(--royal-primary) !important;
}

button, .btn, .button {
  background: linear-gradient(135deg, var(--royal-primary), var(--royal-accent)) !important;
  border: none !important;
}

button:hover, .btn:hover {
  filter: brightness(1.1);
}


/* ===== Royal Rust v2 Enhancements ===== */

/* Main containers */
.container, .content, .panel {
  background: linear-gradient(180deg, #141414, #0c0c0c) !important;
  border: 1px solid rgba(168,85,247,0.25);
  box-shadow: 0 0 25px rgba(168,85,247,0.15);
}

/* Headings */
h1, h2, h3, .title {
  color: #e9d5ff !important;
  text-shadow: 0 0 8px rgba(168,85,247,0.4);
}

/* Navigation */
nav, .navbar {
  background: linear-gradient(180deg, #0f0a1a, #050308) !important;
  border-bottom: 2px solid #7c3aed;
}

nav a, .navbar a {
  color: #ddd !important;
}

nav a:hover, .navbar a:hover {
  color: #c084fc !important;
}

/* Cards / boxes */
.card, .box, .product {
  background: #0f0f14 !important;
  border: 1px solid rgba(124,58,237,0.4);
  box-shadow: inset 0 0 20px rgba(124,58,237,0.15);
}

/* Footer */
footer {
  background: #0b0714 !important;
  border-top: 2px solid #7c3aed;
}


/* ===== Royal Rust v3 Background ===== */
body {
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(168,85,247,0.35), transparent 60%),
    linear-gradient(180deg, #050008 0%, #12001f 40%, #050008 100%) !important;
}

.main, .container, .content {
  border-radius: 18px;
}


/* ===== Royal Rust v4 – Premium Polish ===== */

/* Hero title */
h1, .store-title {
  font-size: 48px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Section separators */
hr, .divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.6), transparent);
  margin: 30px 0;
}

/* Navigation items */
nav a, .navbar a {
  position: relative;
}

nav a::after, .navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #a855f7;
  transition: width .3s ease;
}

nav a:hover::after, .navbar a:hover::after {
  width: 100%;
}

/* Buttons premium */
button, .btn {
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(168,85,247,0.35);
}

/* Subtle animation */
@keyframes royalPulse {
  0% { box-shadow: 0 0 15px rgba(168,85,247,0.25); }
  50% { box-shadow: 0 0 30px rgba(168,85,247,0.45); }
  100% { box-shadow: 0 0 15px rgba(168,85,247,0.25); }
}

.panel, .card {
  animation: royalPulse 6s ease-in-out infinite;
}


/* ===== Royal Rust v5 – HEAVY / DIK ===== */

/* Stronger outer glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1400px 800px at 50% -300px, rgba(168,85,247,0.45), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Main panels thicker */
.panel, .content, .container {
  border: 2px solid rgba(168,85,247,0.45) !important;
  box-shadow:
    0 0 40px rgba(168,85,247,0.25),
    inset 0 0 35px rgba(168,85,247,0.2);
}

/* Headers glow boost */
h1, h2, .store-title {
  text-shadow:
    0 0 12px rgba(168,85,247,0.6),
    0 0 30px rgba(168,85,247,0.35);
}

/* Navbar thicker */
nav, .navbar {
  box-shadow: 0 8px 30px rgba(0,0,0,0.9),
              inset 0 -2px 0 rgba(168,85,247,0.6);
}

/* Buttons EXTREME */
button, .btn {
  background: linear-gradient(135deg, #6d28d9, #a855f7) !important;
  box-shadow:
    0 0 35px rgba(168,85,247,0.6),
    inset 0 0 15px rgba(255,255,255,0.15);
  border-radius: 12px;
}

/* Disclaimer emphasis */
.disclaimer, .footer {
  background: linear-gradient(180deg, #0b0714, #050008) !important;
  border-top: 2px solid rgba(168,85,247,0.6);
}

/* Slow ambient pulse */
@keyframes royalAmbient {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.05); }
  100% { filter: brightness(1); }
}

.panel, .container {
  animation: royalAmbient 10s ease-in-out infinite;
}


/* ===== Royal Rust v6 – PRODUCT CARDS ===== */

/* Product grid spacing */
.products, .product-list {
  gap: 28px !important;
}

/* Product card base */
.product, .product-card {
  background: linear-gradient(180deg, #0b0714, #050008) !important;
  border: 2px solid rgba(168,85,247,0.55);
  border-radius: 16px;
  padding: 18px;
  box-shadow:
    0 0 35px rgba(168,85,247,0.35),
    inset 0 0 25px rgba(168,85,247,0.2);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover = WANT TO CLICK */
.product:hover, .product-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 0 55px rgba(168,85,247,0.6),
    inset 0 0 30px rgba(168,85,247,0.25);
}

/* Product image */
.product img, .product-card img {
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Product title */
.product h3, .product-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #f5e9ff;
  margin-bottom: 6px;
}

/* Price emphasis */
.product .price, .product-card .price {
  font-size: 22px;
  font-weight: 800;
  color: #c084fc;
  text-shadow: 0 0 10px rgba(168,85,247,0.7);
  margin-bottom: 12px;
}

/* Buy button inside product */
.product button, .product-card button {
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  padding: 14px 0;
  background: linear-gradient(135deg, #7c3aed, #d946ef) !important;
  box-shadow:
    0 0 40px rgba(168,85,247,0.75),
    inset 0 0 18px rgba(255,255,255,0.2);
}

/* Buy hover */
.product button:hover, .product-card button:hover {
  filter: brightness(1.15);
}


/* ===== Royal Rust v7 – CATEGORY TABS ===== */

/* Category nav container */
.categories, .category-nav, .nav-categories {
  display: flex;
  gap: 14px;
  padding: 14px;
  margin-bottom: 26px;
  background: linear-gradient(180deg, #090612, #040208);
  border-radius: 14px;
  border: 1px solid rgba(168,85,247,0.4);
  box-shadow: inset 0 0 20px rgba(168,85,247,0.2);
}

/* Category buttons */
.categories a, .category-nav a, .nav-categories a {
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0c0916, #050008);
  color: #ddd;
  font-weight: 600;
  letter-spacing: .5px;
  border: 1px solid rgba(168,85,247,0.35);
  box-shadow: inset 0 0 15px rgba(168,85,247,0.15);
  transition: all .25s ease;
}

/* Hover */
.categories a:hover, .category-nav a:hover, .nav-categories a:hover {
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 0 30px rgba(168,85,247,0.6);
  transform: translateY(-2px);
}

/* Active category */
.categories a.active, 
.category-nav a.active, 
.nav-categories a.active {
  background: linear-gradient(135deg, #7c3aed, #d946ef);
  color: #fff;
  box-shadow:
    0 0 45px rgba(168,85,247,0.8),
    inset 0 0 18px rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.3);
}


/* ===== Royal Rust v8 – ICONIC HEADER HERO ===== */

/* Header container glow */
header, .header, .store-header {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% -120px, rgba(168,85,247,0.45), transparent 60%),
    linear-gradient(180deg, #0a0614 0%, #050008 100%) !important;
  border-bottom: 2px solid rgba(168,85,247,0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

/* Header title */
header h1, .store-title, .header-title {
  font-size: 56px !important;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f5e9ff;
  text-shadow:
    0 0 20px rgba(168,85,247,0.85),
    0 0 60px rgba(168,85,247,0.55),
    0 0 120px rgba(168,85,247,0.35);
  margin-bottom: 10px;
}

/* Header subtitle */
header p, .header-subtitle {
  font-size: 16px;
  letter-spacing: 1px;
  color: #d8b4fe;
  opacity: .9;
}

/* Header divider */
header::after, .store-header::after {
  content: "";
  display: block;
  margin: 18px auto 0;
  width: 240px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  box-shadow: 0 0 18px rgba(168,85,247,0.9);
}


/* ===== Royal Rust v9 – VIP RANKS (LEGENDARY) ===== */

/* Base VIP card */
.vip, .vip-card {
  position: relative;
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
  text-align: center;
}

/* Duke – Ultimate */
.vip-duke, .rank-duke {
  border: 2px solid #facc15;
  background: linear-gradient(180deg, #2a1a00, #120c00);
  box-shadow:
    0 0 60px rgba(250,204,21,0.8),
    inset 0 0 25px rgba(255,215,64,0.35);
}
.vip-duke h3, .rank-duke h3 {
  color: #fde68a;
  text-shadow: 0 0 20px rgba(250,204,21,1);
}

/* Baron – Royal Purple */
.vip-baron, .rank-baron {
  border: 2px solid #a855f7;
  background: linear-gradient(180deg, #1a0b2e, #0b0416);
  box-shadow:
    0 0 55px rgba(168,85,247,0.9),
    inset 0 0 22px rgba(168,85,247,0.35);
}
.vip-baron h3, .rank-baron h3 {
  color: #e9d5ff;
  text-shadow: 0 0 18px rgba(168,85,247,0.9);
}

/* Earl – Crimson */
.vip-earl, .rank-earl {
  border: 2px solid #ef4444;
  background: linear-gradient(180deg, #2a0505, #120202);
  box-shadow:
    0 0 55px rgba(239,68,68,0.9),
    inset 0 0 22px rgba(239,68,68,0.35);
}
.vip-earl h3, .rank-earl h3 {
  color: #fecaca;
  text-shadow: 0 0 18px rgba(239,68,68,0.9);
}

/* VIP badge glow */
.vip::before, .vip-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  filter: blur(18px);
  opacity: .6;
}
.vip-duke::before { background: rgba(250,204,21,0.5); }
.vip-baron::before { background: rgba(168,85,247,0.5); }
.vip-earl::before { background: rgba(239,68,68,0.5); }


/* ===== Centered Footer Disclaimer ===== */
.disclaimer,
.footer .disclaimer,
.footer p {
  text-align: center !important;
}


/* ===== Home Feature Layout ===== */
.home-features {
  margin-top: 30px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.feature-card {
  background: #0b0714;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(168,85,247,.35);
  box-shadow: 0 0 35px rgba(168,85,247,.25);
}

.feature-card .ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 4px solid #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(255,200,64,.9);
}

.feature-card.everybody .ring { border-color:#f97316 }
.feature-card.yourself .ring { border-color:#a855f7 }

.home-bottom {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-top: 30px;
}

.recent-payments, .welcome-panel {
  background: #0b0714;
  border-radius: 18px;
  padding: 22px;
  border: 2px solid rgba(168,85,247,.35);
}

.recent-payments ul {
  list-style:none;
  padding:0;
}

.recent-payments li {
  padding:6px 0;
  font-weight:600;
}


/* ===== Cinematic Home ===== */
.cinematic-hero {
  margin-top: 30px;
  height: 320px;
  border-radius: 22px;
  background:
    radial-gradient(800px 300px at 50% -100px, rgba(168,85,247,.6), transparent 60%),
    linear-gradient(180deg,#09040f,#020006);
  border: 2px solid rgba(168,85,247,.6);
  box-shadow: 0 0 80px rgba(168,85,247,.45);
  position: relative;
  overflow: hidden;
}

.cinematic-overlay {
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.cinematic-overlay h2 {
  font-size:42px;
  letter-spacing:3px;
  text-shadow:0 0 25px rgba(168,85,247,1);
}

.cinematic-cta {
  margin-top:20px;
  display:flex;
  gap:18px;
}

.feature-grid {
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.feature {
  background:#0b0714;
  border-radius:18px;
  padding:26px;
  border:2px solid rgba(168,85,247,.4);
  box-shadow:0 0 35px rgba(168,85,247,.25);
  text-align:center;
}
/* ==========================================
   ROYAL RUST – FINAL MOBILE LAYOUT FIX
   ========================================== */
@media (max-width: 768px) {

  /* FORCE single column everywhere */
  .feature-cards,
  .feature-grid,
  .home-bottom {
    grid-template-columns: 1fr !important;
  }

  /* Fix feature cards spacing */
  .feature-card {
    padding: 22px 16px !important;
  }

  /* Fix ring size (FOR EVERYBODY) */
  .feature-card .ring {
    width: 88px !important;
    height: 88px !important;
    font-size: 14px;
    border-width: 3px;
    margin-bottom: 12px;
  }

  /* Center everything nicely */
  .feature-card,
  .feature-card * {
    text-align: center !important;
  }

  /* Prevent overflow */
  html, body {
    overflow-x: hidden !important;
  }

  /* Containers padding */
  .container,
  .content,
  .panel {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Titles scale */
  h1, .store-title {
    font-size: 26px !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 18px !important;
  }

}
/* ===============================
   FEATURE CARDS → SHOP BUTTONS
   =============================== */

.feature-card.clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.feature-card.clickable:hover {
  transform: translateY(-6px) scale(1.02);
}


/* Mobile tap feedback */
@media (max-width: 768px) {
  .feature-card.clickable:active {
    transform: scale(0.97);
  }
}
