@font-face {
    font-family: 'alfont_com_NeoSansArabic';
    src: url('alfont_com_NeoSansArabic.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Shows fallback text while loading */
}

@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Shows fallback text while loading */
}
@font-face {
    font-family: 'FZKai';
    src: url('FZKai_Z03_Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Shows fallback text while loading */
}
    /* ─── Reset & Base ─── */

:root { --font-main: 'alfont_com_NeoSansArabic', sans-serif; }

html[lang="ar"] { font-family: 'alfont_com_NeoSansArabic', 'Inter', 'Noto Sans SC', sans-serif !important; }
html[lang="en"] { font-family: 'Roboto', 'Noto Sans SC', sans-serif  !important; }
html[lang="cn"],
html[lang="ch"],
html[lang="zh"] { font-family: 'FZKai', 'Noto Sans SC', 'Inter', sans-serif  !important; }

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

html {
    scroll-behavior: smooth;
}

body {

    background-color: #700000;
    color: #ffffff;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    border: none;
    outline: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #4a0000;
}

::-webkit-scrollbar-thumb {
    background: #e5c999;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a96e;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes shimmerText {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.afu {
    animation: fadeInUp 0.6s ease forwards;
}

.d1 {
    animation-delay: 0.1s;
}

.d2 {
    animation-delay: 0.2s;
}

.d3 {
    animation-delay: 0.3s;
}

.d4 {
    animation-delay: 0.4s;
}

/* ─── Fonts ─── */
.font-cn {
    font-family: 'Noto Sans SC', sans-serif;
}

/* ─── Gold text effects ─── */
.gold-gradient {
    background: linear-gradient(135deg, #e5c999 0%, #f0dab0 50%, #c9a96e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-animated {
    background: linear-gradient(90deg, #c9a96e 0%, #f0dab0 30%, #e5c999 50%, #f0dab0 70%, #c9a96e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

/* ─── Layout ─── */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ─── Section Dividers ─── */
.sdiv {
    height: 20px;
    background-image:
            linear-gradient(90deg, transparent, rgba(229, 201, 153, 0.45) 12%, rgba(229, 201, 153, 0.45) 88%, transparent),
            url('../img/4.png');
    background-repeat: no-repeat, repeat-x;
    background-position: center, center;
    background-size: 100% 1px, 41px 43px;
    opacity: 0.85;
}
.w-6 {
    width: calc(var(--spacing) * 6);
}
.object-cover {
    object-fit: cover;
}
.rounded-full {
    border-radius: calc(infinity * 1px);
}

.sdiv-sm {
    height: 20px;
    background-image:
            linear-gradient(90deg, transparent, rgba(229, 201, 153, 0.45) 12%, rgba(229, 201, 153, 0.45) 88%, transparent),
            url('../img/4.png');
    background-repeat: no-repeat, repeat-x;
    background-position: center, center;
    background-size: 100% 1px, 41px 41px;
    opacity: 0.85;
}

.nb-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

.nb-lang-item:hover { background: rgba(255, 255, 255, .06); }

.nb-lang-item.is-active {
    background: rgba(229, 201, 153, .12);
    font-weight: 700;
}
/* ─── Backgrounds ─── */
.bg-pattern {
    background-color: #700000;
    background-image: url('../img/3.jpg');
    background-repeat: repeat;
    background-size: 350px 350px;
}

    .btn-outline {
        color: #e5c999;
        transition: all 0.2s ease;
        background: #020249;
        opacity: 0.7;
    }

.bg-dark-red {
    background: rgba(100, 10, 10, 0.95);
}

/* ─── Glass card ─── */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 201, 153, 0.4);
}

/* ─── Hover card ─── */
.ch {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ch:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(229, 201, 153, 0.12);
}

/* ─── Badge ─── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ─── Progress ─── */
.pbar {
    height: 6px;
    background: rgba(229, 201, 153, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.pfill {
    height: 100%;
    background: linear-gradient(90deg, #020249, #e5c999);
    border-radius: 3px;
    transition: width .6s ease;
}

/* ─── Section label ─── */
.slabel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.slabel-line {
    height: 1px;
    width: 48px;
    background: #e5c999;
}

.slabel-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #e5c999;
}

/* ─── Section header flex ─── */
.shf {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

/* ─── Stars ─── */
.stars {
    display: flex;
    gap: 2px;
}

/* ═══════════════════════════════ HERO ═══════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #3d0a0a;
}

.h-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1518982074995-47ce824cea56?w=1920&h=1080&fit=crop&auto=format') center/cover;
}

.h-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 0, 0, .92) 0%, rgba(80, 0, 0, .75) 50%, rgba(112, 0, 0, .45) 100%);
}

.h-orb {
    position: absolute;
    top: 25%;
    right: 33%;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(112, 0, 0, .25) 0%, transparent 70%);
    pointer-events: none;
}

.h-cn {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 18rem;
    font-weight: 700;
    color: rgba(229, 201, 153, .05);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    display: none;
}

@media (min-width:1280px) {
    .h-cn {
        display: block;
    }
}

.h-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 3rem 0 5rem;
}

.h-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width:1024px) {
    .h-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero text card */
.h-card {
    border-radius: 24px;
    padding: 2rem;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 201, 153, .15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .3);
}

@media (min-width:768px) {
    .h-card {
        padding: 3rem;
    }
}

.h-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(229, 201, 153, .12);
    border: 1px solid rgba(229, 201, 153, .3);
}

.h-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5c999;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.h-h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.h-sub {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.8;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 2rem;
}

.h-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 3rem;
}

.h-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.h-stat-v {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e5c999;
}

.h-stat-l {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

/* Hero video — visible & responsive at every breakpoint */
.h-vid-panel {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 2rem;
}

@media (min-width:1024px) {
    .h-vid-panel {
        margin-top: 0;
    }
}

.h-vid-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    min-height: 220px;
    height: 52vw;
    max-height: 300px;
    border: 2px solid rgba(229, 201, 153, .3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(229, 201, 153, .08);
}

@media (min-width:480px) {
    .h-vid-wrap { max-height: 340px; }
}

@media (min-width:768px) {
    .h-vid-wrap { max-height: 380px; }
}

@media (min-width:1024px) {
    .h-vid-wrap {
        border-radius: 24px;
        height: auto;
        max-height: none;
        min-height: 420px;
    }
}

.h-vid-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-vid-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 0, 0, .55) 0%, transparent 40%, rgba(20, 0, 0, .15) 100%);
    pointer-events: none;
}

.h-vid-ib {
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(229, 201, 153, .25);
    pointer-events: none;
}

.h-float-card {
    border-radius: 14px;
    padding: 14px 18px;
    text-align: center;
    margin: -28px 14px 0;
    position: relative;
    z-index: 10;
    background: #020249;
    border: 1px solid rgba(229, 201, 153, .25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

@media (min-width:640px) {
    .h-float-card {
        border-radius: 16px;
        padding: 20px 32px;
        margin: -48px 40px 0;
    }
}

.h-live {
    position: absolute;
    left: -12px;
    top: 24px;
    border-radius: 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 2, 73, .85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 201, 153, .3);
}

/* Scroll indicator */
.scroll-ind {
    position: absolute;
    bottom: 32px;
    left: 50%;
    animation: floatY 3s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid rgba(229, 201, 153, .4);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: #e5c999;
}

/* ═══════════════════════════════ ABOUT ═══════════════════════════════ */
#about {
    padding: 5rem 0;
}

.ab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width:1024px) {
    .ab-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ab-mvg {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width:640px) {
    .ab-mvg {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ab-mvg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(229, 201, 153, .2);
    border-right: 1px solid rgba(229, 201, 153, .2);
    border-bottom: 1px solid rgba(229, 201, 153, .2);
}

.ab-mvg-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.ab-imgs {
    display: grid;
   /* grid-template-columns: 1fr 1fr;*/
    gap: 12px;
    min-height: 380px;
}

.ab-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ab-col-off {
    margin-top: 24px;
}

.ab-frame {
    border-radius: 16px;
    overflow: hidden;
    height: 192px;
    background: #161616;
}

.ab-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-stat {
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #020249;
    border: 1px solid #020249;
}

/* ═══════════════════════════════ COURSES ═══════════════════════════════ */
#courses {
    padding: 5rem 0;
}

.cc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width:768px) {
    .cc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:1024px) {
    .cc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cc {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(229, 201, 153, .05);
    border: 1px solid rgba(229, 201, 153, .12);
    border-top: 2px solid rgba(229, 201, 153, .45);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cc:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(229, 201, 153, .12);
    border-color: rgba(229, 201, 153, .55);
}

.cc-img {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: #161616;
}

.cc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.cc-img-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 2, 73, .9) 0%, rgba(112, 0, 0, .2) 50%, transparent 100%);
}

.cc-type {
    position: absolute;
    top: 12px;
    right: 12px;
}

.cc-rat {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cc-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.cc-num {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 50px;
    background: #020249;
    color: #fff;
    display: inline-block;
}

.cc-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

.cc-desc {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.cc-mi {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cc-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.cc-cap {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 4px;
}

.cc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.cc-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5c999;
}

.cc-acts {
    display: flex;
    gap: 8px;
}

.btn-og {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(229, 201, 153, .3);
    color: #e5c999;
    background: transparent;
    transition: all .2s ease;
}

.btn-og:hover {
    background: rgba(229, 201, 153, .08);
}

.btn-ns {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: #020249;
    color: rgb(139, 193, 240);
    border: 1px solid rgba(30, 77, 123, .5);
    transition: all .2s ease;
}

/* ═══════════════════════════════ INSTRUCTORS ═══════════════════════════════ */
#instructors {
    padding: 5rem 0;
}

.ic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width:640px) {
    .ic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:1024px) {
    .ic-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.ic {
    height: 100%;
    border-radius: 16px;
    text-align: center;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 201, 153, .4);
    border-top: 2px solid rgba(229, 201, 153, .35);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ic:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(229, 201, 153, .12);
}

.ic-pw {
    position: relative;
}

.ic-ph {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(229, 201, 153, .4);
    transition: all .3s ease;
}

.ic:hover .ic-ph {
    border-color: rgba(229, 201, 153, .8);
    transform: scale(1.05);
}

.ic-aw {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #700000;
    border: 2px solid #161616;
}

.ic-name {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}

.ic-title {
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.4;
    color: rgba(229, 201, 153, .7);
    min-height: calc(1.4em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ic-stats {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.ic-sv {
    font-weight: 700;
    font-size: 13px;
    color: #e5c999;
}

.ic-tags {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.ic-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 50px;
    background: #020249;
    color: rgba(229, 201, 153, .7);
}

.ic-btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    background: #020249;
    color: #e5c999;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all .2s ease;
}

.ic-btn:hover {
    background: #030360;
    color: #fff;
}

/* ═══════════════════════════════ BLOG ═══════════════════════════════ */
#blog {
    padding: 5rem 0;
}

.bc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width:768px) {
    .bc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bc {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(229, 201, 153, .05);
    border: 1px solid rgba(229, 201, 153, .22);
    border-top: 2px solid rgba(229, 201, 153, .45);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    text-decoration: none;
    color: inherit;
}

.bc:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(229, 201, 153, .12);
    border-color: rgba(229, 201, 153, .55);
}

.bc-img {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: #161616;
}

.bc-img.no-img {
    background: linear-gradient(135deg, rgba(112,0,0,.5), rgba(2,2,73,.9));
}

.bc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-img-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 2, 73, .9) 0%, rgba(112, 0, 0, .2) 50%, transparent 100%);
}

.bc-cat {
    position: absolute;
    top: 12px;
    right: 12px;
}

.bc-body {
    padding: 1rem;
}

.bc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(229, 201, 153, .6);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.bc-title {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 8px;
}

.bc-ex {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

/* ═══════════════════════════════ TESTIMONIALS ═══════════════════════════════ */
#testimonials {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.t-bg-cn {
    position: absolute;
    left: -64px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 20rem;
    font-weight: 700;
    color: rgba(229, 201, 153, .03);
    pointer-events: none;
    user-select: none;
}

.t-hdr {
    text-align: center;
    margin-bottom: 3rem;
}

.t-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    background: rgba(229, 201, 153, .08);
    border: 1px solid rgba(229, 201, 153, .2);
}

.tc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width:768px) {
    .tc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tc {
    position: relative;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.tc.normal {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(229, 201, 153, .12);
    border-top: 2px solid rgba(229, 201, 153, .25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.tc.featured {
    background: rgba(229, 201, 153, .07);
    border: 1px solid rgba(229, 201, 153, .35);
    border-top: 3px solid rgba(229, 201, 153, .7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    transform: translateY(-10px);
}

@media (max-width:767px) {
    .tc.featured {
        transform: none;
    }
}

.tc-fb {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    background: #020249;
    color: #8bc1f0;
    border: 1px solid rgba(139, 193, 240, .4);
}

.tc-qi {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #020249;
    margin-bottom: 12px;
    font-size: 20px;
    font-family: serif;
    color: #8bc1f0;
    line-height: 1;
    flex-shrink: 0;
}

.tc-txt {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .7);
    flex: 1;
    margin-bottom: 20px;
}

.tc-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(229, 201, 153, .1);
}

.tc-av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tc-name {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}

.tc-course {
    font-size: 11px;
    color: rgba(229, 201, 153, .6);
}

.t-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

.dot {
    height: 8px;
    border-radius: 4px;
    border: none;
    background: rgba(229, 201, 153, .3);
    cursor: pointer;
    transition: all .3s ease;
}

.dot.active {
    background: #020249;
    width: 24px;
}

.dot:not(.active) {
    width: 8px;
}

.t-arr {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #020249;
    border: 1px solid rgba(139, 193, 240, .4);
    color: #8bc1f0;
    cursor: pointer;
    transition: all .2s ease;
}

@media (min-width:768px) {
    .t-arr {
        display: flex;
    }
}

.t-arr:hover {
    transform: translateY(-50%) scale(1.05);
}

.t-prev {
    right: -56px;
    transform: translateY(-50%);
}

.t-next {
    left: -56px;
    transform: translateY(-50%);
}

/* ═══════════════════════════════ CTA ═══════════════════════════════ */
#cta {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #700000 0%, #500000 55%, #161616 100%);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(229, 201, 153, .08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-wrap {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-h2 {
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-txt {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    max-width: 672px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-gold-cta {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(135deg, #c9a96e, #e5c999);
    color: #161616;
    box-shadow: 0 10px 35px rgba(229, 201, 153, .35);
    transition: all .2s ease;
}

.btn-gold-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 45px rgba(229, 201, 153, .45);
}

.btn-navy-cta {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: #020249;
    color: #8bc1f0;
    border: 1px solid rgba(30, 77, 123, .55);
    transition: all .2s ease;
}

.btn-navy-cta:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* ─── Shared buttons ─── */
.btn-prim {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #020249;
    color: #e5c999;
    box-shadow: 0 8px 32px rgba(112, 0, 0, .5);
    transition: all .2s ease;
}

.btn-prim:hover {
    transform: translateY(-2px);
}

.btn-sec {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: rgb(229, 201, 153);
    color: rgb(2, 2, 73);
    border: 1px solid rgb(229, 201, 153);
    transition: all .2s ease;
}

.btn-sec:hover {
    opacity: .9;
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    color: #8aa6ff;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s;
}

.btn-link:hover {
    opacity: .75;
}

.btn-link-g {
    background: none;
    color: #e5c999;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity .2s;
}

.btn-link-g:hover {
    opacity: .75;
}

.btn-more {
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #020249;
    background: #020249;
    color: #e5c999;
    transition: all .2s ease;
}

.btn-more:hover {
    transform: translateY(-1px);
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #700000;
    background-image: url('src/imports/3.jpg');
    background-repeat: repeat;
    background-size: 350px 350px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 201, 153, 0.2);
}

/* Top bar */
.nb-topbar {
    background: rgba(30, 0, 0, 0.7);
    border-bottom: 1px solid rgba(229, 201, 153, 0.1);
}

.nb-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(229, 201, 153, 0.75);
    gap: 12px;
}

.nb-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nb-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nb-topbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width:640px) {
    .nb-topbar-right {
        display: none;
    }
}

/* Main nav bar */
.nb-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.nb-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: none;
}

.nb-logo img {
    height: 48px;
    object-fit: contain;
    filter: brightness(1.05);
}

/* Desktop nav links */
.nb-links {
    display: none;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

@media (min-width:1024px) {
    .nb-links {
        display: flex;
    }
}

.nb-link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.nb-link:hover {
    color: #e5c999;
    background: rgba(229, 201, 153, 0.08);
}

.nb-link.active {
    color: #e5c999;
    background: rgba(229, 201, 153, 0.1);
    border-bottom-color: #e5c999;
}

/* Right controls */
.nb-controls {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (min-width:1024px) {
    .nb-controls {
        display: flex;
    }
}

/* Language dropdown */
.nb-lang-wrap {
    position: relative;
}

.nb-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: #020249;
    color: #e5c999;
    opacity: 0.8;
    border: none;
    transition: all 0.2s ease;
}

.nb-lang-btn:hover {
    opacity: 1;
}

.nb-lang-drop {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 130px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: #4a0000;
    border: 1px solid rgba(229, 201, 153, 0.3);
    z-index: 100;
}

.nb-lang-drop.open {
    display: block;
}

.nb-lang-item {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    text-align: start;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.15s ease;
}

.nb-lang-item:hover {
    background: rgba(229, 201, 153, 0.1);
    color: #e5c999;
}

/* Auth buttons */
.btn-login {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: #020249;
    color: #e5c999;
    opacity: 0.8;
    border: none;
    transition: all 0.2s ease;
}

.btn-login:hover {
    opacity: 1;
}

.btn-register {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: #020249;
    color: #e5c999;
    border: none;
    transition: all 0.2s ease;
}

.btn-register:hover {
    transform: translateY(-1px);
}

.nb-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 6px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    background: #020249;
    color: #e5c999;
    opacity: 0.9;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

[dir="ltr"] .nb-account-btn {
    padding: 6px 17px 6px 17px;
}

.nb-account-btn:hover {
    opacity: 1;
    color: #e5c999;
}

.nb-account-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(229, 201, 153, 0.15);
}

.nb-account-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5c999;
}

/* Mobile hamburger */
.nb-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: none;
    color: #e5c999;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

@media (min-width:1024px) {
    .nb-hamburger {
        display: none;
    }
}

.nb-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e5c999;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nb-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nb-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nb-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nb-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 1rem;
    border-top: 1px solid rgba(229, 201, 153, 0.1);
    background: rgba(40, 0, 0, 0.98);
    gap: 4px;
}

.nb-mobile.open {
    display: flex;
}

@media (min-width:1024px) {
    .nb-mobile {
        display: none !important;
    }
}

.nb-mob-link {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: start;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.nb-mob-link:hover,
.nb-mob-link.active {
    color: #e5c999;
    background: rgba(229, 201, 153, 0.1);
}

.nb-mob-divider {
    height: 1px;
    background: rgba(229, 201, 153, 0.1);
    margin: 8px 0;
}

.nb-mob-langs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.nb-mob-lang {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.nb-mob-lang.active {
    background: rgba(229, 201, 153, 0.15);
    color: #e5c999;
    border-color: rgba(229, 201, 153, 0.4);
}

.nb-mob-auths {
    display: flex;
    gap: 8px;
}

.nb-mob-auths button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
    background: #3a0000;
    border-top: 1px solid rgba(229, 201, 153, 0.15);
}

.ft-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.ft-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width:640px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:1024px) {
    .ft-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

.ft-logo {
    height: 56px;
    object-fit: contain;
    filter: brightness(1.05);
    margin-bottom: 1.25rem;
}

.ft-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.ft-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ft-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 201, 153, 0.1);
    color: rgba(229, 201, 153, 0.7);
    border: none;
    transition: all 0.2s ease;
}

.ft-social-btn:hover {
    background: rgba(229, 201, 153, 0.2);
    color: #e5c999;
    transform: translateY(-2px);
}

.ft-col-title {
    font-weight: 700;
    font-size: 14px;
    color: #e5c999;
    margin-bottom: 1rem;
}

.ft-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-link {
    font-size: 13px;
    text-align: start;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
    transition: color 0.2s ease;
}

.ft-link:hover {
    color: #e5c999;
}

.ft-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.ft-contact-icon {
    color: #e5c999;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom bar */
.ft-bottom {
    border-top: 1px solid rgba(229, 201, 153, 0.08);
    background: rgba(0, 0, 0, 0.35);
}

.ft-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    gap: 12px;
    flex-wrap: wrap;
}

/* Direction rules */
html[dir="ltr"],
body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"],
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .h-cn {
    left: auto;
    right: 32px;
}

/* ══════════════════════════════════════
   AUTH MODAL & INPUT FIELDS
══════════════════════════════════════ */
.input-field {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(229, 201, 153, 0.25);
    color: #ffffff;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    transition: border-color 0.3s, background 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: rgba(229, 201, 153, 0.6);
    background: rgba(0, 0, 0, 0.35);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.input-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e5c999' 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 12px center;
    padding-left: 36px;
}

[dir="ltr"] select.input-field {
    background-position: right 12px center;
    padding-left: 16px;
    padding-right: 36px;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-overlay.open {
    display: flex;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: #700000;
    border: 1px solid rgba(229, 201, 153, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(60, 0, 0, 0.9), rgba(112, 0, 0, 0.8));
    border-bottom: 1px solid rgba(229, 201, 153, 0.15);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(229, 201, 153, 0.15);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.auth-tab.active {
    color: #e5c999;
    background: rgba(229, 201, 153, 0.08);
    border-bottom-color: #e5c999;
}

.auth-body {
    padding: 1.5rem;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(229, 201, 153, 0.9);
}

.auth-icon-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(229, 201, 153, 0.6);
    pointer-events: none;
}

[dir="rtl"] .auth-input-icon.right {
    right: 12px;
}

[dir="ltr"] .auth-input-icon.right {
    left: 12px;
}

[dir="rtl"] .auth-icon-input {
    padding-right: 40px;
}

[dir="ltr"] .auth-icon-input {
    padding-left: 40px;
}

.auth-toggle-pass {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(229, 201, 153, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

[dir="rtl"] .auth-toggle-pass {
    left: 12px;
}

[dir="ltr"] .auth-toggle-pass {
    right: 12px;
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(112, 0, 0, 0.6), rgb(2, 2, 73));
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── Field-level validation errors ── */
.auth-field-error {
    display: block;
    min-height: 0;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: #ff9b9b;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}

.auth-field-error.is-visible {
    opacity: 1;
    max-height: 40px;
    margin-top: 6px;
}

.input-field.has-error,
select.input-field.has-error {
    border-color: rgba(255, 90, 90, 0.7);
    background: rgba(120, 0, 0, 0.25);
}

/* ── Inline submit-button spinner ── */
.auth-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

/* ── Toast notifications ── */
.auth-toast-wrap {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 380px;
    padding: 0 16px;
    pointer-events: none;
}

.auth-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(60, 0, 0, 0.97), rgba(112, 0, 0, 0.95));
    border: 1px solid rgba(229, 201, 153, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

.auth-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.auth-toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.auth-toast--success .auth-toast-icon {
    background: rgba(120, 200, 120, 0.2);
    color: #8fe28f;
}

.auth-toast--error .auth-toast-icon {
    background: rgba(255, 90, 90, 0.2);
    color: #ff9b9b;
}

.auth-toast-msg {
    flex: 1;
}

.auth-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.auth-toast-close:hover {
    color: #fff;
}

/* ══════════════════════════════════════
   CALM SCROLL ANIMATIONS (site-wide)
══════════════════════════════════════ */
#navbar { transition: box-shadow .35s ease; }
#navbar.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }


/* ══════════════════════════════════════
   GOLD SCROLL PROGRESS BAR (site-wide)
══════════════════════════════════════ */
#scroll-progress {
    position: fixed;
    top: 0; right: 0;
    height: 4px;
    width: 0%;
    z-index: 1002;
    background: linear-gradient(90deg, #c9a96e, #e5c999, #c9a96e);
    opacity: .95;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    pointer-events: none;
    transition: width .08s linear;
}
@media (min-width:768px) { #scroll-progress { height: 5px; } }

