* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #000;
    color: white;
    padding: 30px;
}

.hero {
    position: relative;
    height: 42vh;
    min-height: 320px;
    overflow: hidden;
    background: #000;
    border-radius: 24px;
    margin: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 2.4rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 16px rgba(0,0,0,0.6);
    transition: transform 1s ease;
    z-index: 3;
}

.hero-title.closer {
    transform: scale(1.15);
}

.hero-start-btn {
    position: absolute;
    z-index: 5;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f5c518;
    color: #111;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.hero-caption {
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: opacity 0.4s ease;
}

.hero-bg {
    position: absolute; inset: 0;
    background-image: url('../images/hero-flower.jpg');
    background-size: cover; background-position: 62% 68%;
    transform: scale(1);
    transition: transform 11.5s ease-in-out, filter 3.5s ease-in 11.5s;
}
.hero-bg.zooming { transform: scale(1.9); }
.hero-bg.dimming { filter: brightness(0.35) blur(1px); }

.hero-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 2; text-align: center; padding: 0 24px;
}

.hero-subtitle {
    color: #f5c518;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-caption.visible { opacity: 1; }
.hero-start-btn.hidden { display: none; }

.container {
    max-width: 1200px;
    margin: auto;
}

.card {
    background: #222;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.card h2 {
    color: #f5c518;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5c518;
    box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.3);
}

.form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23333' d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.form-group select:focus {
    outline: none;
    border-color: #f5c518;
    box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.3);
}

.form-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #444;
    appearance: none;
    cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f5c518;
    cursor: pointer;
    border: 2px solid #222;
}

.form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f5c518;
    cursor: pointer;
    border: 2px solid #222;
}

@media (min-width: 700px) {
    .form-row { display: flex; gap: 20px; }
    .form-row .form-group { flex: 1; }
}

.movie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.movie-types button,
.movie-btn {
    padding: 18px;
    font-size: 18px;
    background: #333;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.movie-types button:hover,
.movie-btn:hover {
    background: #ffd700;
    color: black;
    transform: scale(1.05);
}

.movie-btn.active {
    background: #f5c518;
    color: #111;
    font-weight: 700;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0 16px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    background: #f5c518;
    color: #111;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #f5c518;
    color: #111;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
}

.forgot-link {
    display: block;
    text-align: center;
    color: #ccc;
    margin-top: 12px;
    font-size: 13px;
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.captcha-row input { flex: 1; }
.captcha-box {
    background: #eee;
    color: #111;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.action-btn:hover {
    background: #444;
    border-color: #f5c518;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.primary {
    background: #f5c518;
    color: #111;
    border-color: #f5c518;
}

.action-btn.primary:hover {
    background: #ffd84d;
}

.preview-box {
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #999;
    background: #1a1a1a;
}

.media-thumb-wrap {
    position: relative;
    display: inline-block;
    margin: 8px;
    vertical-align: top;
}

.media-thumb-wrap.selectable img,
.media-thumb-wrap.selectable video {
    outline: 3px solid transparent;
    cursor: pointer;
}

.media-thumb-wrap.selected img,
.media-thumb-wrap.selected video {
    outline: 3px solid #f5c518;
}

.thumb-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.thumb-controls button {
    background: #333;
    color: #f5c518;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 13px;
}

.trailer-heading {
    color: #f5c518;
    margin: 25px 0 15px;
}

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

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

.trailer-card {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.trailer-thumb {
    background: #333;
    border-radius: 8px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.play-icon { font-size: 32px; }

.trailer-label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
}

.trailer-card .action-btn { width: 100%; }

.trailer-grid.single {
    grid-template-columns: 1fr;
    max-width: 320px;
}

.dashboard {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-top: 15px;
    scrollbar-width: thin;
}

.dashboard-box {
    flex: 0 0 auto;
    min-width: 120px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
}

.dashboard-box h3 {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.dashboard-box p {
    color: #f5c518;
    font-size: 20px;
    font-weight: 700;
}

@media (min-width: 700px) {
    .dashboard {
        overflow-x: visible;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .dashboard-box { flex: 1; }
}

.site-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #1a1a1a;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.site-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-menu a:hover { color: #f5c518; }

.gallery-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 15px;
}

.gallery-photo {
    flex: 1 1 200px;
    width: 100%;
    max-width: 260px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #444;
    transition: transform 0.3s ease;
}

.gallery-photo:hover { transform: scale(1.03); }

.terms-song-block {
    background: #1a1a1a;
    border: 2px dashed #f5c518;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.terms-play-btn {
    background: #f5c518;
    color: #111;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin: 10px auto 0;
    cursor: pointer;
}

.terms-song-block h3 { color: #f5c518; margin-bottom: 12px; }

.lang-toggle { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.lang-btn {
    background: #333; color: #ccc; border: none;
    padding: 6px 16px; border-radius: 20px; font-size: 0.85rem;
    cursor: pointer;
}
.lang-btn.active { background: #f5c518; color: #111; font-weight: 700; }

.terms-caption {
    color: #eee; font-size: 0.95rem; line-height: 1.5;
    min-height: 40px; margin-top: 14px; opacity: 0;
    transition: opacity 0.6s ease;
}
.terms-caption.visible { opacity: 1; }
.terms-caption.warning { color: #ff4444; font-weight: 700; font-size: 1.05rem; }

.consent-check {
    display: flex; align-items: center; gap: 8px;
    justify-content: center; margin-top: 16px;
    color: #fff; font-size: 0.9rem;
}
.consent-check input { width: 18px; height: 18px; }

.word {
    color: #888;
    transition: color 0.2s ease, transform 0.2s ease;
}
.word.sung {
    color: #f5c518;
    transform: scale(1.08);
}

/* Photo motion preview effects */
.motion-zoom-in { animation: zoomIn 3s ease forwards; }
.motion-zoom-out { animation: zoomOut 3s ease forwards; }
.motion-pan-left { animation: panLeft 3s ease forwards; }
.motion-pan-right { animation: panRight 3s ease forwards; }
.motion-rotate { animation: rotateIn 3s ease forwards; }
.motion-fade-in { animation: fadeIn 3s ease forwards; }

@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.25); } }
@keyframes zoomOut { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes panLeft { from { transform: translateX(0); } to { transform: translateX(-20px); } }
@keyframes panRight { from { transform: translateX(0); } to { transform: translateX(20px); } }
@keyframes rotateIn { from { transform: rotate(0deg); } to { transform: rotate(3deg); } }
@keyframes fadeIn { from { opacity: 0.3; } to { opacity: 1; } }

.theme-warm { filter: sepia(0.35) saturate(1.3); }
.theme-cool { filter: hue-rotate(180deg) saturate(1.1); }
.theme-golden { filter: sepia(0.5) saturate(1.6) brightness(1.05); }
.theme-bw { filter: grayscale(1); }
.theme-vintage { filter: sepia(0.6) contrast(0.9) brightness(0.95); }
.theme-cinema { filter: contrast(1.15) saturate(1.1) brightness(0.95); }
