/* ═══════════════════════════════════════════════════════
   PUBLIC SITE STYLESHEET — Mafia HQ
   Premium dark gaming website design
   ═══════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
    --ps-bg:           #0a0a12;
    --ps-bg-alt:       #10101c;
    --ps-bg-dark:      #06060c;
    --ps-bg-card:      #14142a;
    --ps-bg-card-hover:#1a1a36;
    --ps-text:         #e0e0e8;
    --ps-text-muted:   #8888a0;
    --ps-text-heading: #ffffff;
    --ps-accent:       #FFB703;
    --ps-accent-hover: #e6a502;
    --ps-accent-glow:  rgba(255, 183, 3, 0.15);
    --ps-border:       rgba(255, 255, 255, 0.06);
    --ps-radius:       12px;
    --ps-radius-sm:    8px;
    --ps-radius-lg:    20px;
    --ps-shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
    --ps-shadow-lg:    0 8px 40px rgba(0, 0, 0, 0.5);
    --ps-transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ps-font:         'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --ps-container:    1200px;
    --ps-nav-height:   72px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.ps-body {
    font-family: var(--ps-font);
    background: var(--ps-bg);
    color: var(--ps-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ps-body img { max-width: 100%; display: block; }
.ps-body a { color: var(--ps-accent); text-decoration: none; transition: color var(--ps-transition); }
.ps-body a:hover { color: var(--ps-accent-hover); }

/* ─── CONTAINER ─── */
.ps-container {
    max-width: var(--ps-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.ps-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--ps-nav-height);
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ps-border);
    transition: background var(--ps-transition);
}
.ps-nav--scrolled {
    background: rgba(10, 10, 18, 0.97);
}
.ps-nav__inner {
    max-width: var(--ps-container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ps-nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ps-accent) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.ps-nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-nav__link {
    color: var(--ps-text-muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--ps-radius-sm);
    transition: all var(--ps-transition);
}
.ps-nav__link:hover,
.ps-nav__link--active {
    color: var(--ps-text-heading) !important;
    background: rgba(255, 255, 255, 0.05);
}
.ps-nav__link--active {
    color: var(--ps-accent) !important;
}
.ps-nav__cta {
    margin-left: 8px;
}
.ps-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.ps-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ps-text);
    border-radius: 2px;
    transition: all var(--ps-transition);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ps-font);
    font-weight: 600;
    border: none;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    transition: all var(--ps-transition);
    text-decoration: none;
    white-space: nowrap;
}
.ps-btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.ps-btn--md { padding: 12px 28px; font-size: 0.95rem; }
.ps-btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.ps-btn--primary {
    background: var(--ps-accent);
    color: #0a0a12 !important;
}
.ps-btn--primary:hover {
    background: var(--ps-accent-hover);
    box-shadow: 0 0 24px var(--ps-accent-glow);
    transform: translateY(-1px);
}
.ps-btn--outline {
    background: transparent;
    color: var(--ps-text-heading) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.ps-btn--outline:hover {
    border-color: var(--ps-accent);
    color: var(--ps-accent) !important;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.ps-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--ps-nav-height) + 40px) 24px 80px;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,183,3,0.08) 0%, transparent 60%),
                linear-gradient(180deg, var(--ps-bg) 0%, var(--ps-bg-alt) 100%);
    overflow: hidden;
}
.ps-hero--short {
    min-height: 50vh;
}
.ps-hero__overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.ps-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.ps-hero__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--ps-text-heading);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.ps-hero__title span {
    color: var(--ps-accent);
}
.ps-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--ps-text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.ps-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.ps-hero__fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--ps-bg), transparent);
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.ps-main { padding-top: 0; }

.ps-section {
    padding: 100px 0;
}
.ps-section--alt {
    background: var(--ps-bg-alt);
}
.ps-section--dark {
    background: var(--ps-bg-dark);
}
.ps-section__header {
    text-align: center;
    margin-bottom: 60px;
}
.ps-section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--ps-text-heading);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.ps-section__subtitle {
    font-size: 1.1rem;
    color: var(--ps-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════════════ */
.ps-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.ps-card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}
.ps-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 32px;
    transition: all var(--ps-transition);
}
.ps-card:hover {
    background: var(--ps-bg-card-hover);
    border-color: rgba(255, 183, 3, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
}
.ps-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.ps-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 12px;
}
.ps-card__text {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   STAT / PROGRESS BARS
   ═══════════════════════════════════════════════════════ */
.ps-stat-bars {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ps-stat-bar__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ps-stat-bar__label {
    font-weight: 600;
    color: var(--ps-text-heading);
    font-size: 0.95rem;
}
.ps-stat-bar__value {
    color: var(--ps-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.ps-stat-bar__track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}
.ps-stat-bar__fill {
    height: 100%;
    border-radius: 10px;
    background: var(--bar-color, var(--ps-accent));
    box-shadow: 0 0 12px var(--bar-color, var(--ps-accent));
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════
   SPLIT CONTENT
   ═══════════════════════════════════════════════════════ */
.ps-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ps-split--reverse .ps-split__text { order: 2; }
.ps-split--reverse .ps-split__visual { order: 1; }
.ps-split__text p {
    color: var(--ps-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}
.ps-split__text .ps-btn { margin-top: 12px; }

/* ─── Highlight Box ─── */
.ps-highlight-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ps-highlight-box__item {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 28px;
    text-align: center;
}
.ps-highlight-box__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--ps-accent);
    margin-bottom: 8px;
}
.ps-highlight-box__label {
    font-size: 0.85rem;
    color: var(--ps-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── Icon Grid ─── */
.ps-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ps-icon-grid__item {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 28px;
    text-align: center;
    transition: all var(--ps-transition);
}
.ps-icon-grid__item:hover {
    border-color: rgba(255, 183, 3, 0.2);
    transform: translateY(-2px);
}
.ps-icon-grid__item span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.ps-icon-grid__item small {
    color: var(--ps-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ─── District Preview ─── */
.ps-district-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ps-district-preview__item {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-left: 4px solid var(--accent, var(--ps-accent));
    border-radius: var(--ps-radius-sm);
    padding: 20px 24px;
    transition: all var(--ps-transition);
}
.ps-district-preview__item:hover {
    background: var(--ps-bg-card-hover);
    transform: translateX(4px);
}
.ps-district-preview__name {
    display: block;
    font-weight: 700;
    color: var(--ps-text-heading);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.ps-district-preview__tag {
    font-size: 0.85rem;
    color: var(--ps-text-muted);
}

/* ═══════════════════════════════════════════════════════
   FEATURE LIST (horizontal icon + text rows)
   ═══════════════════════════════════════════════════════ */
.ps-feature-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.ps-feature-list__item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.ps-feature-list__icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-bg-card);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border);
}
.ps-feature-list__content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 8px;
}
.ps-feature-list__content p {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   FEATURE GRID (features page)
   ═══════════════════════════════════════════════════════ */
.ps-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ps-feature-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 28px 32px;
    transition: all var(--ps-transition);
}
.ps-feature-card:hover {
    border-color: rgba(255, 183, 3, 0.15);
    background: var(--ps-bg-card-hover);
}
.ps-feature-card__icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}
.ps-feature-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 8px;
}
.ps-feature-card__text {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   KNOWLEDGE CARDS
   ═══════════════════════════════════════════════════════ */
.ps-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.ps-knowledge-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 32px;
    transition: all var(--ps-transition);
}
.ps-knowledge-card:hover {
    background: var(--ps-bg-card-hover);
    border-color: rgba(255, 183, 3, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
}
.ps-knowledge-card__icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.ps-knowledge-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 12px;
}
.ps-knowledge-card__text {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   DISTRICT CARDS (world page)
   ═══════════════════════════════════════════════════════ */
.ps-district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.ps-district-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-top: 4px solid var(--district-color, var(--ps-accent));
    border-radius: var(--ps-radius);
    padding: 28px;
    transition: all var(--ps-transition);
}
.ps-district-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
    border-color: var(--district-color, var(--ps-accent));
}
.ps-district-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ps-text-heading);
    margin-bottom: 12px;
}
.ps-district-card__desc {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.ps-district-card__bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ps-district-card__bar {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ps-district-card__bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ps-text-muted);
    width: 60px;
    flex-shrink: 0;
}
.ps-district-card__bar .ps-stat-bar__track {
    flex: 1;
    height: 8px;
}
.ps-district-card__bar-value {
    font-size: 0.8rem;
    color: var(--ps-text-muted);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   SCREENSHOT GALLERY
   ═══════════════════════════════════════════════════════ */
.ps-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ps-gallery__item {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    overflow: hidden;
    transition: all var(--ps-transition);
}
.ps-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
    border-color: rgba(255, 183, 3, 0.2);
}
.ps-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 10;
    transition: transform var(--ps-transition);
}
.ps-gallery__item:hover .ps-gallery__image {
    transform: scale(1.05);
}
.ps-gallery__placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(255,183,3,0.08) 0%, rgba(20,20,42,1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ps-gallery__placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.4;
}
.ps-gallery__placeholder-label {
    font-size: 0.8rem;
    color: var(--ps-text-muted);
    opacity: 0.5;
}
.ps-gallery__caption {
    padding: 16px 20px;
}
.ps-gallery__caption h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 4px;
}
.ps-gallery__caption p {
    font-size: 0.85rem;
    color: var(--ps-text-muted);
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.ps-cta-section {
    padding: 100px 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,183,3,0.06) 0%, transparent 70%),
                var(--ps-bg-dark);
}
.ps-cta-section__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.ps-cta-section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ps-text-heading);
    margin-bottom: 16px;
}
.ps-cta-section__text {
    font-size: 1.1rem;
    color: var(--ps-text-muted);
    margin-bottom: 32px;
}
.ps-cta-section__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   QUOTE BLOCK
   ═══════════════════════════════════════════════════════ */
.ps-quote-block {
    background: var(--ps-bg-card);
    border-left: 4px solid var(--ps-accent);
    border-radius: var(--ps-radius-sm);
    padding: 28px 32px;
}
.ps-quote-block blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ps-text);
    line-height: 1.7;
}
.ps-quote-block--centered {
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--ps-accent);
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
}

/* ═══════════════════════════════════════════════════════
   CONTENT BLOCK
   ═══════════════════════════════════════════════════════ */
.ps-content-block {
    max-width: 800px;
}
.ps-content-block--centered {
    margin: 0 auto;
    text-align: center;
}
.ps-content-block p {
    color: var(--ps-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════
   PROGRESSION TIMELINE
   ═══════════════════════════════════════════════════════ */
.ps-progression {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.ps-progression::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ps-accent), rgba(255,183,3,0.1));
}
.ps-progression__step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}
.ps-progression__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ps-bg-card);
    border: 2px solid var(--ps-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ps-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-left: -40px;
}
.ps-progression__content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 8px;
}
.ps-progression__content p {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   PLAY PAGE CARDS
   ═══════════════════════════════════════════════════════ */
.ps-play-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.ps-play-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: 48px 36px;
    text-align: center;
    transition: all var(--ps-transition);
}
.ps-play-card:hover {
    border-color: rgba(255, 183, 3, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow-lg);
}
.ps-play-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.ps-play-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ps-text-heading);
    margin-bottom: 12px;
}
.ps-play-card__text {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.ps-footer {
    background: var(--ps-bg-dark);
    border-top: 1px solid var(--ps-border);
    padding: 60px 0 32px;
}
.ps-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.ps-footer__logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ps-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.ps-footer__tagline {
    color: var(--ps-text-muted);
    font-size: 0.9rem;
}
.ps-footer__links h4 {
    color: var(--ps-text-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ps-footer__links ul { list-style: none; }
.ps-footer__links li { margin-bottom: 10px; }
.ps-footer__links a {
    color: var(--ps-text-muted) !important;
    font-size: 0.9rem;
    transition: color var(--ps-transition);
}
.ps-footer__links a:hover {
    color: var(--ps-accent) !important;
}
.ps-footer__bottom {
    border-top: 1px solid var(--ps-border);
    padding-top: 24px;
    text-align: center;
}
.ps-footer__bottom p {
    color: var(--ps-text-muted);
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════
   LOGIN / REGISTER PAGE (premium redesign)
   ═══════════════════════════════════════════════════════ */
.ps-auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--ps-bg);
}
.ps-auth-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: radial-gradient(ellipse at 30% 40%, rgba(255,183,3,0.06) 0%, transparent 60%),
                var(--ps-bg-alt);
    position: relative;
    overflow: hidden;
}
.ps-auth-side__overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.ps-auth-side__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
}
.ps-auth-side__logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ps-accent);
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.ps-auth-side__tagline {
    font-size: 1.2rem;
    color: var(--ps-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.ps-auth-side__features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ps-auth-side__feature {
    display: flex;
    gap: 12px;
    align-items: center;
}
.ps-auth-side__feature-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.ps-auth-side__feature-text {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
}
.ps-auth-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.ps-auth-card {
    width: 100%;
    max-width: 420px;
}
.ps-auth-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ps-text-heading);
    margin-bottom: 8px;
}
.ps-auth-card__subtitle {
    color: var(--ps-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}
.ps-auth-card .ps-form-group {
    margin-bottom: 20px;
}
.ps-auth-card .ps-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ps-text-heading);
    margin-bottom: 8px;
}
.ps-auth-card .ps-form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    color: var(--ps-text);
    font-size: 0.95rem;
    font-family: var(--ps-font);
    transition: all var(--ps-transition);
    outline: none;
}
.ps-auth-card .ps-form-input::placeholder {
    color: rgba(136, 136, 160, 0.5);
}
.ps-auth-card .ps-form-input:focus {
    border-color: var(--ps-accent);
    box-shadow: 0 0 0 3px var(--ps-accent-glow);
}
.ps-auth-card__actions {
    margin-top: 28px;
}
.ps-auth-card__actions .ps-btn {
    width: 100%;
}
.ps-auth-card__footer {
    text-align: center;
    margin-top: 24px;
    color: var(--ps-text-muted);
    font-size: 0.9rem;
}
.ps-auth-card__footer a {
    color: var(--ps-accent);
    font-weight: 600;
}
.ps-auth-card__back {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--ps-text-muted);
}
.ps-auth-card__back a {
    color: var(--ps-text-muted) !important;
}
.ps-auth-card__back a:hover {
    color: var(--ps-accent) !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .ps-card-grid--3col { grid-template-columns: repeat(2, 1fr); }
    .ps-split { grid-template-columns: 1fr; gap: 40px; }
    .ps-split--reverse .ps-split__text,
    .ps-split--reverse .ps-split__visual { order: unset; }
    .ps-footer__grid { grid-template-columns: 1fr 1fr; }
    .ps-gallery { grid-template-columns: repeat(2, 1fr); }
    .ps-auth-side { display: none; }
    .ps-auth-form-wrapper { flex: 1; }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --ps-nav-height: 64px; }

    .ps-nav__links {
        display: none;
        position: fixed;
        top: var(--ps-nav-height);
        left: 0; right: 0;
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--ps-border);
    }
    .ps-nav__links--open { display: flex; }
    .ps-nav__links li { width: 100%; }
    .ps-nav__link { display: block; padding: 12px 16px; }
    .ps-nav__cta { margin-left: 0; margin-top: 12px; text-align: center; }
    .ps-nav__toggle { display: flex; }

    .ps-hero { min-height: 70vh; padding-top: calc(var(--ps-nav-height) + 32px); }
    .ps-hero--short { min-height: 40vh; }
    .ps-section { padding: 60px 0; }
    .ps-card-grid--3col { grid-template-columns: 1fr; }
    .ps-card-grid { grid-template-columns: 1fr; }
    .ps-gallery { grid-template-columns: 1fr; }
    .ps-district-grid { grid-template-columns: 1fr; }
    .ps-knowledge-grid { grid-template-columns: 1fr; }
    .ps-play-options { grid-template-columns: 1fr; }
    .ps-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .ps-highlight-box { grid-template-columns: 1fr 1fr; gap: 12px; }

    .ps-feature-card { flex-direction: column; }

    .ps-hero__actions { flex-direction: column; align-items: center; }
    .ps-hero__actions .ps-btn { width: 100%; max-width: 280px; }

    .ps-auth-form-wrapper { padding: 24px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .ps-highlight-box { grid-template-columns: 1fr; }
    .ps-icon-grid { grid-template-columns: 1fr; }
    .ps-container { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.ps-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ps-fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS (self-contained for public pages)
   ═══════════════════════════════════════════════════════ */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 360px;
    width: 100%;
}
.toast {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    animation: toast-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.toast::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
}
.toast--success::before { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.4); }
.toast--error::before   { background: #ff4444; box-shadow: 0 0 8px rgba(255,68,68,0.4); }
.toast--warning::before { background: #FFB703; box-shadow: 0 0 8px rgba(255,183,3,0.4); }
.toast--info::before    { background: #00d4ff; box-shadow: 0 0 8px rgba(0,212,255,0.4); }
.toast__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--ps-text-heading);
}
.toast__message {
    flex: 1;
    font-size: 0.9rem;
    color: var(--ps-text);
    line-height: 1.4;
}
.toast__close {
    background: none;
    border: none;
    color: var(--ps-text-muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    transition: color var(--ps-transition);
}
.toast__close:hover { color: var(--ps-text-heading); }
.toast--exit {
    animation: toast-out 0.25s ease forwards;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(100%) scale(0.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(100%) scale(0.95); }
}
