/* Keiro — Pole Dance Exotic & Artistic */

:root {
    --bg: #0c0b0d;
    --surface: #161418;
    --surface2: #1e1c21;
    --text: #ebe8e6;
    --muted: #9a9592;
    --accent: #c9a86c;
    --accent-hover: #ddb87a;
    --radius: 12px;
    --font: "Jost", system-ui, sans-serif;
    --font-display: "Cormorant Garamond", serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--surface);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1.5rem;
}

.nav {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.theme-tumbler {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: var(--surface2);
    border-radius: 999px;
    padding: 4px;
    gap: 0;
}

.theme-tumbler-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.theme-tumbler-btn:hover {
    color: var(--text);
}

.theme-tumbler-btn.active {
    background: var(--accent);
    color: var(--bg);
}

.theme-tumbler .theme-icon {
    display: block;
}

.logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--accent-hover);
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text);
}

.main {
    flex: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    width: 100%;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    margin: 0 -1.5rem 2rem;
    background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
    border-radius: var(--radius);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Intro & content */
.intro {
    margin-bottom: 2rem;
}

.main-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.main .content {
    color: var(--muted);
    margin: 0 0 1.25rem;
}

.main .content-lead {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.main .content:last-child {
    margin-bottom: 0;
}

.main .error {
    color: #c94a4a;
}

/* Quick links */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(201, 168, 108, 0.15);
}

.btn-telegram {
    margin-top: 1rem;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* Schedule */
.schedule-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.schedule-card {
    transition: border-color 0.2s;
}

.schedule-card:hover {
    border-color: rgba(201, 168, 108, 0.3);
}

.schedule-time {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.schedule-style {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.schedule-place {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.schedule-place-link {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 108, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.schedule-place-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.award-card {
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.award-card:hover {
    border-color: rgba(201, 168, 108, 0.4);
    transform: translateY(-2px);
}

.award-year {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.award-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.award-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* Media: video & photo */
.media-loading {
    margin-top: 1rem;
}

.media-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.media-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--text);
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-item {
    max-width: 640px;
}

.video-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: var(--muted);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.video-wrapper video {
    object-fit: contain;
    background: #000;
}

.video-placeholder .video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    height: 200px;
}

.video-placeholder-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.video-fallback-link {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.video-fallback-link a {
    color: var(--accent);
    text-decoration: none;
}

.video-fallback-link a:hover {
    text-decoration: underline;
}

/* Plyr: как у YouTube — большая кнопка play, прогресс, громкость, полноэкранный */
.plyr-wrap {
    position: relative;
}
.plyr-wrap .plyr {
    border-radius: var(--radius);
}
.plyr__control--overlaid {
    background: var(--accent);
}
.plyr--fullscreen-active .plyr__video-wrapper {
    border-radius: 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.photo-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.photo-item figcaption {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .photo-item img {
        height: 160px;
    }
}

/* Contact block */
.contact-block {
    max-width: 480px;
}

.contact-content {
    margin-bottom: 0.5rem;
}

.contact-content .content {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 0.85rem;
}

.footer p {
    margin: 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.theme-switcher {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.theme-switcher-label {
    color: var(--muted);
    margin-right: 0.5rem;
}

.theme-switcher .theme-link {
    color: var(--muted);
    text-decoration: none;
}

.theme-switcher .theme-link:hover,
.theme-switcher .theme-link.active {
    color: var(--accent);
}

.theme-sep {
    margin: 0 0.35rem;
    color: var(--muted);
    font-weight: 300;
}

/* Экран входа на сайт */
.login-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index: 100;
}
.login-screen[hidden] {
    display: none;
}
.login-screen-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    width: 100%;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.login-screen-title {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
}
.login-screen-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.login-screen-form input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--surface2);
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.login-screen-form input:focus {
    outline: none;
    border-color: var(--accent);
}
.login-screen-error {
    margin: 0 0 0.75rem;
    color: #e57373;
    font-size: 0.9rem;
}
.login-screen-error[hidden] {
    display: none;
}
.btn-login-submit {
    width: 100%;
    padding: 0.65rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.btn-login-submit:hover {
    background: var(--accent-hover);
}

@media (max-width: 600px) {
    .nav {
        gap: 1rem;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .main-title {
        font-size: 1.65rem;
    }
    .schedule-cards {
        grid-template-columns: 1fr;
    }
    .awards-grid {
        grid-template-columns: 1fr;
    }
}
