﻿/* ============================================
   DramaMicro - Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-cyan: #00F2EA;
    --color-pink: #FF0050;
    --color-purple: #E91E8C;
    --color-dark-900: #0A0A0A;
    --color-dark-800: #121212;
    --color-dark-700: #1A1A1A;
    --color-dark-600: #222222;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #AAAAAA;
    --color-text-muted: #666666;
    --gradient-accent: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-pink) 50%, var(--color-purple) 100%);
    --gradient-btn: linear-gradient(135deg, var(--color-cyan), var(--color-pink));
    --shadow-glow-cyan: 0 0 20px rgba(0, 242, 234, 0.4), 0 0 40px rgba(255, 0, 80, 0.2);
    --shadow-glow-pink: 0 0 20px rgba(255, 0, 80, 0.4), 0 0 40px rgba(0, 242, 234, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-dark-900);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-800);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-cyan), var(--color-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-pink), var(--color-cyan));
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
}

@media (min-width: 768px) {
    .navbar {
        height: 80px;
    }
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .navbar-logo {
        width: 48px;
        height: 48px;
    }
}

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

.navbar-logo-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--gradient-btn);
}

.navbar-logo-fallback span {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.navbar-title {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .navbar-title {
        font-size: 1.5rem;
    }
}

.navbar-links {
    display: none;
    gap: 2rem;
}

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

.navbar-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar-link:hover {
    color: var(--color-cyan);
}

.navbar-link--pink:hover {
    color: var(--color-pink);
}

.navbar-menu-btn {
    display: flex;
    padding: 0.5rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.navbar-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .navbar-menu-btn {
        display: none;
    }
}

.navbar-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.navbar-mobile-menu.is-open {
    transform: translateX(0);
}

.navbar-mobile-menu .glass {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.navbar-mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-cyan);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 1024px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

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

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 2rem auto 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-scroll:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 640px) {
    .btn {
        width: auto;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary {
    background: var(--gradient-btn);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(0, 242, 234, 0.3);
}

.btn-secondary {
    background: var(--color-dark-700);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
}

.btn-secondary--pink:hover {
    border-color: var(--color-pink);
}

.btn-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-icon {
    width: 32px;
    height: 32px;
}

@media (min-width: 640px) {
    .btn-icon {
        width: 40px;
        height: 40px;
    }
}

.btn-text-group {
    text-align: left;
}

.btn-text-small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.btn-text-large {
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- Shows Section ---------- */
.shows {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .shows {
        padding: 4rem 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.section-badge--pink {
    background: rgba(255, 0, 80, 0.1);
    color: var(--color-pink);
    border: 1px solid rgba(255, 0, 80, 0.2);
}

.section-badge--cyan {
    background: rgba(0, 242, 234, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 242, 234, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    max-width: 672px;
    margin: 0 auto;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

@media (min-width: 768px) {
    .shows-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

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

.show-card {
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background: var(--color-dark-700);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all var(--transition-smooth);
}

.show-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 242, 234, 0.15), 0 0 80px rgba(255, 0, 80, 0.1);
}

.show-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    background: var(--gradient-accent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.show-card:hover::after {
    opacity: 1;
}

.show-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.show-card:hover img {
    transform: scale(1.05);
}

/* ---------- Preview Section ---------- */
.preview {
    padding: 4rem 1rem;
    position: relative;
}

@media (min-width: 768px) {
    .preview {
        padding: 4rem 1.5rem;
    }
}

.preview-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-dark-900), var(--color-dark-800), var(--color-dark-900));
}

.preview-content {
    position: relative;
    z-index: 10;
}

.phones-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .phones-container {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
}

.phone-frame {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        0 30px 60px -30px rgba(0, 242, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .phone-frame {
        width: 280px;
    }
}

.phone-screen {
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 1125 / 2436;
    background: var(--color-dark-700);
    position: relative;
}

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

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--color-dark-900);
    border-radius: 0 0 16px 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.feature-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon--cyan {
    background: rgba(0, 242, 234, 0.1);
    color: var(--color-cyan);
}

.feature-icon--pink {
    background: rgba(255, 0, 80, 0.1);
    color: var(--color-pink);
}

.feature-icon--purple {
    background: rgba(233, 30, 140, 0.1);
    color: var(--color-purple);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .cta {
        padding: 4rem 1.5rem;
    }
}

.cta-content {
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-desc {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
    padding: 4rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 2rem;
    }
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
}

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

.footer-logo-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--gradient-btn);
    color: white;
    font-weight: 700;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-cyan);
}

.footer-link--pink:hover {
    color: var(--color-pink);
}

.footer-contact-company {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-contact-email {
    color: var(--color-cyan);
    font-size: 0.875rem;
}

.footer-contact-email:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ---------- Background Effects ---------- */
.bg-orbs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb--cyan {
    width: 600px;
    height: 600px;
    background: var(--color-cyan);
    top: -200px;
    left: -200px;
}

.orb--pink {
    width: 500px;
    height: 500px;
    background: var(--color-pink);
    bottom: -150px;
    right: -150px;
}

.orb--purple {
    width: 400px;
    height: 400px;
    background: var(--color-purple);
    top: 40%;
    right: 20%;
    opacity: 0.2;
}

/* ---------- Animations ---------- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--shadow-glow-cyan);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 242, 234, 0.6), 0 0 60px rgba(255, 0, 80, 0.4);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    animation: slide-up 0.5s ease-out forwards;
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
}

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

.lang-btn {
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-btn.active {
    background: var(--gradient-btn);
    color: #000;
    border-color: transparent;
}

.navbar-mobile-lang {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-mobile-lang .lang-btn {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}