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

:root {
    --bg-cardd: #e0dbdb;
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dark: #a68521;
    --green: #00d26a;
    --red: #ff4757;
    --blue: #5865f2;
    --purple: #9b59b6;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark: #666666;
    --border: rgba(255,255,255,0.1);
    --shadow: 0 10px 40px rgba(0,0,0,0.5);
    --gold-glow: 0 0 30px rgba(201,162,39,0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    min-height: 100vh;
    direction: rtl;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* scrollbar → Style/perf.css */

/* ============ HEADER ============ */
:root {
    --header-h: 72px;
    --maint-banner-h: 38px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 9999;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    transition: transform 0.4s ease;
    animation: header-logo-breath 4s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    filter: drop-shadow(0 0 4px rgba(232, 185, 35, 0.25));
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(232, 185, 35, 0.8))
            drop-shadow(0 0 4px rgba(232, 185, 35, 0.45));
    animation-play-state: paused;
}

@keyframes header-logo-breath {
    0%, 100% { transform: translateZ(0) scale(0.96); }
    50% { transform: translateZ(0) scale(1.04); }
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    justify-self: center;
    grid-column: 2;
}

.nav a {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a:hover,
.nav a.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
}

.nav a i {
    font-size: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    justify-self: end;
    grid-column: 3;
    flex-wrap: nowrap;
    min-width: 0;
}

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #e8e8e8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.header-cart:hover {
    background: rgba(245, 184, 65, 0.12);
    color: #f5b841;
}

.header-cart__badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #f5b841;
    color: #0c0a04;
    font-size: 0.68rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* btn-discord → Style/buttons-plix.css */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    padding: 5px;
    flex-shrink: 0;
}

/* ============ MOBILE NAV ============ */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    z-index: 9998;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-nav > a:hover,
.mobile-nav > a.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
}

/* ============ MAIN ============ */
.main {
    padding-top: var(--header-h);
    min-height: 100vh;
}

/* ============ HERO ============ */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.05) 0%, transparent 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ============ PRODUCTS ============ */
.products {
    padding: 30px 20px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.section-title i {
    color: var(--gold);
}

.products-count {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* ============ PRODUCT CARD ============ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.product-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: var(--gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
}

.product-badge.sale {
    background: var(--red);
    color: white;
}

.product-content {
    padding: 20px;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.product-fav {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.product-fav:hover,
.product-fav.active {
    color: var(--gold);
    transform: scale(1.2);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* btn-buy, btn-video → Style/buttons-plix.css */

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-gray);
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    transform: scale(0.9);
    transition: all 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 1rem;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--red);
}

.modal-body {
    padding: 25px;
}

.modal-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
}

.modal-info .product-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.modal-info .product-price {
    font-size: 1.5rem;
    margin: 0;
}

.payment-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.payment-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold);
}

.payment-btn i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    font-size: 1.3rem;
    color: var(--gold);
}

.payment-btn.zain i {
    background: rgba(0, 166, 81, 0.1);
    color: #00a651;
}

.payment-btn.visa i {
    background: rgba(26, 31, 113, 0.1);
    color: #1a1f71;
}

.qr-container {
    text-align: center;
}

.qr-code {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    padding: 15px;
    background: white;
    border-radius: 15px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-info {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.qr-amount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 25px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============ LICENSE PAGE ============ */
/* ============ LICENSE PAGE ============ */
.page-section {
    padding: 55px 9px 80px;
    max-width: 1025px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header h1 i {
    color: var(--gold);
}

.page-header p {
    color: var(--text-gray);
}

.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 45px;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.data-table th {
    background: rgba(201, 162, 39, 0.1);
    padding: 16px 22px;
    text-align: center;
    font-weight: 1000;
    color: var(--gold);
    font-size: 0.94rem;
}

.data-table td {
    padding: 16px 17px;
    border-bottom: 2px solid var(--border);
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    min-width: 100px;
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.license-key {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 17px;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-block;
    min-width: 160px;
}

.license-key:hover {
    background: rgba(201, 162, 39, 0.2);
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 1000;
}

.status.active {
    background: rgba(0, 210, 106, 0.1);
    color: var(--green);
}

.status.inactive {
    background: rgba(255, 71, 87, 0.1);
    color: var(--red);
}

.status.banned {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-gray);
}

/* ============ CHANGE PAGE ============ */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    margin: 0 auto;
}

.form-card h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-card h1 i {
    color: var(--gold);
}

.form-card > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--gold);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group select {
    padding-left: 45px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c9a227' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 18px center;
    background-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(201, 162, 39, 0.5);
}

.form-group select option {
    background: #1e1e1e;
    color: var(--text-white);
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
}

.form-group select option:hover,
.form-group select option:checked {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.1));
    color: var(--gold);
}

.form-group select option:disabled {
    color: var(--text-dark);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1), 0 0 20px rgba(201, 162, 39, 0.15);
    background-color: rgba(0, 0, 0, 0.4);
}

.form-group input::placeholder {
    color: var(--text-dark);
}

.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* btn-submit → Style/buttons-plix.css */

/* ============ ERROR PAGES ============ */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-title {
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.error-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.banned-page {
    background: linear-gradient(180deg, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
}

.banned-icon {
    font-size: 5rem;
    color: var(--red);
    margin-bottom: 20px;
}

.banned-title {
    color: var(--red);
}

/* ============ FOOTER ============ */
.footer,
footer.st-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 1.35rem 1.25rem;
}

.st-footer,
.footer .st-footer,
.st-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}

.st-footer__copy {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
}

.st-footer__brand {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 900;
    font-size: 0.98rem;
    color: var(--text-white);
    letter-spacing: -0.01em;
    margin: 0;
}

.st-footer__brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.st-footer__links,
.st-footer__side {
    grid-column: 3;
    justify-self: end;
}

.st-footer__links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.st-footer__side {
    min-height: 1px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    :root {
        --header-h: 64px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        padding: 0 14px;
        column-gap: 0.5rem;
    }

    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
    }
    
    .mobile-nav {
        display: block;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo h1 {
        font-size: 1.05rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 1.25rem 14px;
    }

    .st-footer,
    .footer .st-footer {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        text-align: center;
    }

    .st-footer__brand,
    .st-footer__copy,
    .st-footer__links,
    .st-footer__side {
        grid-column: 1;
        justify-self: center;
    }

    .st-footer__links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 0 12px;
    }
    
    .logo h1 {
        display: none;
    }
    
    .hero {
        padding: 40px 15px 30px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .error-code {
        font-size: 5rem;
    }

    body {
        overflow-x: hidden;
    }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeUp 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.data-table th:nth-child(1),
.data-table td:nth-child(1) {
    width: 200px;
    min-width: 200px;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
    width: 200px;
    min-width: 200px;
}

/* ============ PRE-MAINTENANCE WARNING BANNER ============ */
.maint-notice-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background: rgba(10, 10, 14, 0.96);
    border-bottom: 1px solid rgba(232, 185, 35, 0.35);
    color: #f4f4f7;
    font-weight: 700;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.maint-notice-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.maint-notice-content i {
    animation: pulseWarning 1.5s infinite;
    color: #e8b923;
}

.maint-notice-content strong {
    color: #e8b923;
}

@keyframes pulseWarning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

body:has(.maint-notice-banner) .header {
    top: var(--maint-banner-h) !important;
}

body:has(.maint-notice-banner) .mobile-nav {
    top: calc(var(--maint-banner-h) + var(--header-h)) !important;
    max-height: calc(100dvh - var(--maint-banner-h) - var(--header-h));
}

body:has(.maint-notice-banner) .main {
    padding-top: calc(var(--maint-banner-h) + var(--header-h)) !important;
}

@media (max-width: 900px) {
    .maint-notice-banner {
        font-size: 0.78rem;
        padding: 0 10px;
    }
}

/* ============ NEWS TICKER / MARQUEE ============ */
.news-ticker-container {
    background: rgba(16, 16, 22, 0.65);
    border: 1px solid rgba(232, 185, 35, 0.18);
    height: 42px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 99;
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
    max-width: 1200px;
    margin: 0 auto clamp(12px, 2vw, 20px) auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 40px rgba(232, 185, 35, 0.02);
}

.news-ticker-label {
    background: linear-gradient(135deg, #c99a15, #e8b923);
    color: #030304;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.news-ticker-label::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #030304;
    border-radius: 50%;
    animation: tickerDotPulse 1.2s infinite;
}

@keyframes tickerDotPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.news-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.news-ticker-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    right: 0;
    height: 100%;
    animation: newsTickerScroll 35s linear infinite;
    will-change: transform;
}

.news-ticker-track:hover {
    animation-play-state: paused;
}

.news-item {
    color: #e4e4e7;
    font-size: 0.88rem;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.news-separator {
    color: #e8b923;
    margin: 0 25px;
    font-size: 0.95rem;
    flex-shrink: 0;
    white-space: nowrap;
}

@keyframes newsTickerScroll {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}


