/* =========================================================
   EXOTIC PRO - STYLE.CSS
   Purpose:
   - Global theme
   - Admin dashboard layout
   - Gallery / Ads modal
   - Floating comments animation
   - Shorts / Pricing / Connect UI
========================================================= */

/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary-color: #ff0033;
    --primary-soft: rgba(255, 0, 51, 0.18);

    --bg-black: #050505;
    --bg-deep: #09090b;
    --bg-card: rgba(255, 255, 255, 0.045);
    --glass: rgba(255, 255, 255, 0.04);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.58);
    --text-soft: rgba(255, 255, 255, 0.78);

    --border-soft: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);

    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --blue: #2563eb;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 34px;

    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.35);
    --shadow-strong: 0 28px 100px rgba(0, 0, 0, 0.65);

    --page-brightness: 100%;
}

/* =========================
   RESET / BASE
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 0, 51, 0.12), transparent 36%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), transparent 38%),
        var(--bg-black);
    color: var(--text-main);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        filter 0.3s ease;
    filter: brightness(var(--page-brightness));
    overflow-x: hidden;
}

body[data-theme="soft-dark"] {
    --bg-black: #111113;
    --bg-deep: #16161a;
    --glass: rgba(255, 255, 255, 0.065);
    --bg-card: rgba(255, 255, 255, 0.07);
}

body[data-theme="light"] {
    --bg-black: #f5f5f7;
    --bg-deep: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --bg-card: rgba(255, 255, 255, 0.82);
    --text-main: #0f172a;
    --text-muted: rgba(15, 23, 42, 0.62);
    --text-soft: rgba(15, 23, 42, 0.82);
    --border-soft: rgba(15, 23, 42, 0.12);
    background:
        radial-gradient(circle at top left, rgba(255, 0, 51, 0.09), transparent 36%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.10), transparent 38%),
        var(--bg-black);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

input,
select,
textarea {
    color: var(--text-main);
}

textarea {
    resize: vertical;
}

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

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

/* =========================
   UTILITIES
========================= */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.hidden {
    display: none !important;
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* =========================
   NAVIGATION
========================= */
#siteLogo {
    background: transparent;
    border: none;
    outline: none;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

#siteLogo:hover {
    transform: translateY(-1px) scale(1.02);
    opacity: 0.92;
}

.nav-link,
.mobile-nav-btn {
    background: transparent;
    border: none;
    color: var(--text-soft);
    transition:
        color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.nav-link:hover,
.mobile-nav-btn:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link.active,
.mobile-nav-btn.active {
    color: var(--primary-color);
}

#liveTag {
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#liveTag.live-pop {
    transform: scale(1.08);
}

/* =========================
   BUTTONS
========================= */
.primary-btn,
.secondary-btn,
.danger-btn,
.icon-btn {
    border: none;
    outline: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.primary-btn {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-main);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    font-size: 0.8rem;
    font-weight: 800;
}

.danger-btn {
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-soft);
}

.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover,
.icon-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.primary-btn:active,
.secondary-btn:active,
.danger-btn:active,
.icon-btn:active {
    transform: translateY(0);
}

/* =========================
   FORM ELEMENTS
========================= */
.admin-label {
    display: block;
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-input {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-main);
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

body[data-theme="light"] .admin-input {
    background: rgba(255, 255, 255, 0.75);
}

.admin-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.admin-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

body[data-theme="light"] .admin-input::placeholder {
    color: rgba(15, 23, 42, 0.4);
}

.color-input {
    height: 48px;
    padding: 0.25rem;
}

/* =========================
   HERO / HOME PAGE
========================= */
.home-shell {
    animation: pageEnter 0.45s ease both;
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: 3.5rem 1.25rem;
    margin-bottom: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 0, 51, 0.20), transparent 42%),
        linear-gradient(315deg, rgba(37, 99, 235, 0.16), transparent 44%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-soft);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -45%;
    background:
        conic-gradient(
            from 180deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent,
            rgba(255, 0, 51, 0.12),
            transparent
        );
    animation: heroSpin 18s linear infinite;
    opacity: 0.45;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 auto 0.75rem;
    max-width: 900px;
    font-size: clamp(2.6rem, 8vw, 6rem);
    line-height: 0.88;
    font-weight: 1000;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    font-style: italic;
}

.hero-subtitle {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-bottom: 1.35rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid var(--border-soft);
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 900;
    font-family: Consolas, Monaco, monospace;
    box-shadow: inset 0 0 20px rgba(255, 0, 51, 0.08);
}

.hero-cta {
    min-width: 190px;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    border: none;
    font-size: 0.82rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
    animation: pulse 2s infinite;
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 18px 60px var(--primary-soft);
}

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.75rem 0 1rem;
}

.home-section-title h3 {
    font-size: 1rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-section-title p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* =========================
   HOME MEDIA TILES
========================= */
.home-media-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 0.75rem;
    overflow-x: auto;
}

.media-tile {
    position: relative;
    min-width: 300px;
    height: 210px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.media-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-strong);
}

.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transform: scale(1.02);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.media-tile:hover img {
    opacity: 0.98;
    transform: scale(1.07);
}

.media-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 62%),
        linear-gradient(135deg, rgba(255, 0, 51, 0.20), transparent 52%);
}

.media-tile-content {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1rem;
    z-index: 2;
}

.media-tile-label {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.media-tile-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 1000;
}

/* =========================
   LIVE FEEDBACK / COMMENTS
========================= */
.feedback-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 1.25rem;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feedback-header h3 {
    font-weight: 1000;
}

.feedback-header p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 0.65rem;
    margin-top: 1rem;
}

.comment-input {
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-main);
    outline: none;
}

.comment-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.comment-float-stage {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border-soft);
}

.comment-float-stage::before,
.comment-float-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 4;
    pointer-events: none;
}

.comment-float-stage::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.82), transparent);
}

.comment-float-stage::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.82), transparent);
}

body[data-theme="light"] .comment-float-stage::before {
    background: linear-gradient(to bottom, rgba(245, 245, 247, 0.82), transparent);
}

body[data-theme="light"] .comment-float-stage::after {
    background: linear-gradient(to top, rgba(245, 245, 247, 0.82), transparent);
}

.comment-stream {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    animation: commentsFlyUp 22s linear infinite;
}

.comment-stream:hover {
    animation-play-state: paused;
}

.comment-bubble {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    max-width: 760px;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.comment-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 1000;
    text-transform: uppercase;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.comment-name {
    font-size: 0.84rem;
    font-weight: 1000;
}

.comment-lang,
.comment-date {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.comment-text {
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* =========================
   SHORTS PAGE
========================= */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    animation: pageEnter 0.45s ease both;
}

.short-card {
    position: relative;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: var(--shadow-soft);
}

.short-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000000;
}

.short-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.short-title {
    max-width: 70%;
    font-weight: 1000;
    font-size: 0.95rem;
}

.short-actions {
    position: absolute;
    right: 1rem;
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.short-action-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.short-action-btn:hover {
    transform: scale(1.08);
}

.short-action-btn.liked {
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: 0 0 35px var(--primary-soft);
}

.short-like-count {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    font-weight: 1000;
}

/* =========================
   PRICING PAGE
========================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0 3rem;
    animation: pageEnter 0.45s ease both;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 36px;
    border: 1px solid var(--border-soft);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 45%),
        var(--glass);
    box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow:
        var(--shadow-soft),
        0 0 80px rgba(37, 99, 235, 0.15);
}

.pricing-name {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 1000;
    text-transform: uppercase;
}

.pricing-price {
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -0.06em;
}

.pricing-description {
    min-height: 70px;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* =========================
   CONNECT PAGE
========================= */
.connect-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0;
    text-align: center;
    animation: pageEnter 0.45s ease both;
}

.connect-avatar {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    margin: 0 auto 1.3rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 1000;
    box-shadow: 0 0 80px var(--primary-soft);
}

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

.connect-title {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 6vw, 3.3rem);
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.connect-bio {
    max-width: 560px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-soft);
    font-size: 1.5rem;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.04);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
}

/* =========================
   FLOATING TELEGRAM CONTACT
========================= */
.telegram-float {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #229ed9;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 1000;
    box-shadow: 0 18px 60px rgba(34, 158, 217, 0.35);
    overflow: visible;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.telegram-float:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.telegram-float i {
    font-size: 1.25rem;
}

.telegram-pulse {
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 2px solid rgba(34, 158, 217, 0.45);
    animation: telegramPulse 1.8s ease-out infinite;
}

/* =========================
   MODALS
========================= */
.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 230;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-card {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    padding: 1.25rem;
}

.media-preview-card {
    position: relative;
    z-index: 2;
    width: min(100%, 1020px);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 34px;
    padding: 1.25rem;
}

.blurred-preview-bg {
    background-size: cover;
    background-position: center;
}

.blurred-preview-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 0, 51, 0.18), transparent 40%),
        rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.05);
}

.preview-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.preview-item-content {
    padding: 0.85rem;
}

.preview-item-title {
    font-weight: 1000;
}

/* =========================
   ADMIN PORTAL LAYOUT
========================= */
#adminPortal {
    color: #ffffff;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100vh;
    overflow: hidden;
}

.admin-sidebar {
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
}

.admin-tab-list {
    display: grid;
    gap: 0.5rem;
}

.admin-tab {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: left;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.admin-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

.admin-tab.active {
    color: #ffffff;
    background: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.18);
}

.admin-content {
    height: 100vh;
    overflow-y: auto;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 51, 0.12), transparent 34%),
        #030303;
}

.admin-panel {
    display: none;
    animation: pageEnter 0.35s ease both;
}

.admin-panel.active {
    display: block;
}

.admin-panel-header {
    margin-bottom: 1.25rem;
}

.admin-panel-header h3 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 1000;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.admin-panel-header p {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.admin-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
    padding: 1rem;
    border-radius: 24px;
}

.admin-card-title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-card {
    padding: 1.1rem;
    border-radius: 22px;
}

.stat-label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card strong {
    font-size: 2rem;
    font-weight: 1000;
    line-height: 1;
}

.admin-list {
    display: grid;
    gap: 0.7rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.admin-list-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.admin-list-thumb {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-list-thumb img,
.admin-list-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-list-title {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 1000;
}

.admin-list-subtitle {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    word-break: break-word;
}

.admin-list-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mini-btn {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.mini-btn:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.14);
}

.mini-btn.danger {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.28);
}

/* =========================
   EMPTY / ERROR STATES
========================= */
.empty-state {
    padding: 2rem 1rem;
    border-radius: 20px;
    border: 1px dashed var(--border-soft);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.notice {
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes heroSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.045);
        opacity: 0.86;
    }
}

@keyframes telegramPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

@keyframes commentsFlyUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-165%);
    }
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (min-width: 640px) {
    .media-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shorts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .shorts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        height: auto;
        max-height: 260px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .admin-content {
        height: calc(100vh - 260px);
    }

    .admin-grid,
    .admin-grid.two {
        grid-template-columns: 1fr;
    }

    .admin-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tab {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    #app {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section {
        padding: 2.6rem 1rem;
        border-radius: 28px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 15vw, 4.5rem);
    }

    .media-tile {
        min-width: 265px;
        height: 190px;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .telegram-float {
        min-height: 48px;
        padding: 0.75rem 0.9rem;
        font-size: 0.78rem;
    }

    .telegram-float span:last-child {
        display: none;
    }

    .modal-card,
    .media-preview-card {
        border-radius: 24px;
        padding: 1rem;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-panel-header h3 {
        font-size: 1.6rem;
    }

    .admin-list-item {
        grid-template-columns: 48px 1fr;
    }

    .admin-list-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .admin-list-thumb {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 420px) {
    .admin-tab-list {
        grid-template-columns: 1fr;
    }

    .hero-timer {
        min-width: 160px;
        font-size: 1.15rem;
    }

    .preview-item img {
        height: 210px;
    }
}
/* =========================================================
   FINAL FRONTEND ADD-ON
   Home quick access + customer login
========================================================= */

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.quick-access-card {
    position: relative;
    overflow: hidden;
    min-height: 155px;
    padding: 1.15rem;
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 50%),
        var(--glass);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-align: left;
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.quick-access-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-strong);
}

.quick-access-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--primary-soft);
}

.quick-access-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 12px 35px var(--primary-soft);
}

.quick-access-title {
    position: relative;
    z-index: 2;
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-access-text {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 330px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 160px);
    padding: 2rem 0 3rem;
    animation: pageEnter 0.45s ease both;
}

.login-card {
    width: min(100%, 520px);
    padding: 1.35rem;
    border-radius: 34px;
    text-align: center;
}

.login-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 24px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.8rem;
    box-shadow: 0 0 70px var(--primary-soft);
}

.login-title {
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 0.95;
    font-weight: 1000;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    font-style: italic;
}

.login-subtitle {
    max-width: 420px;
    margin: 0 auto 1.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.login-form {
    display: grid;
    gap: 0.8rem;
}

.login-input {
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-main);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    outline: none;
}

.login-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.login-message {
    min-height: 24px;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.login-message.success {
    color: var(--success);
}

.login-message.error {
    color: var(--danger);
}

@media (min-width: 720px) {
    .quick-access-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-access-card {
        min-height: 145px;
    }
}

@media (max-width: 420px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}