/* ===== BERK PLAYER STYLES ===== */

:root {
    --font-body: 'Sora', sans-serif;
    --font-display: 'Bricolage Grotesque', sans-serif;
    --color-primary: #f5c84b;
    --color-primary-dark: #c9971b;
    --color-accent: #f8d77c;
    --color-accent-warm: #f5c84b;
    --color-bg: #0b0d12;
    --color-bg-alt: #11141c;
    --color-surface: #161a24;
    --color-text: #f8fafc;
    --color-text-muted: #b0b7c3;
    --border-color: rgba(248, 250, 252, 0.08);
    --shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 36px 80px rgba(0, 0, 0, 0.45);
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(900px 500px at 12% -10%, rgba(245, 200, 75, 0.18), transparent 60%),
        radial-gradient(700px 500px at 88% 10%, rgba(248, 215, 124, 0.12), transparent 60%),
        var(--color-bg);
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BACKGROUND ELEMENTS ===== */
.glow-bg {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(245, 200, 75, 0.2), transparent 70%);
    top: -200px;
    left: -180px;
    animation: float 18s ease-in-out infinite;
}

.glow-2 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(248, 215, 124, 0.16), transparent 70%);
    bottom: -300px;
    right: -260px;
    animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(11, 13, 18, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-display);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f5c84b, #f0b429);
    color: #1b1400;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(248, 250, 252, 0.04);
    color: var(--color-accent);
    border: 1px solid rgba(245, 200, 75, 0.4);
}

.btn-secondary:hover {
    background: rgba(245, 200, 75, 0.12);
    border-color: var(--color-primary);
}

.btn-nav {
    background: var(--color-primary);
    color: #1b1400;
    font-size: 0.9rem;
    padding: 10px 20px;
    box-shadow: var(--shadow-sm);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    z-index: 10;
    padding: 120px 20px 90px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 200, 75, 0.18);
    border: 1px solid rgba(245, 200, 75, 0.35);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f5c84b, #f8d77c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-actions .btn {
    flex-direction: row;
    padding: 15px 25px;
    font-size: 1rem;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-label {
    font-weight: 600;
    display: block;
}

.btn-sub {
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.meta-dot {
    opacity: 0.5;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: var(--color-surface);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(248, 250, 252, 0.08);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: var(--color-bg-alt);
    border-radius: 12px 12px 0 0;
    margin-bottom: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #eab308;
}

.dot.green {
    background: #22c55e;
}

.mockup-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.mockup-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ===== TICKER BANNER ===== */
.live-ticker-banner {
    background: rgba(17, 20, 28, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.ticker-badge {
    background: rgba(245, 200, 75, 0.2);
    color: #ffe6a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-track {
    display: flex;
    gap: 30px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-track span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    position: relative;
    z-index: 10;
    padding: 90px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
}

.section-title.text-left {
    text-align: left;
    background: linear-gradient(135deg, #f5c84b, #f8d77c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: rgba(245, 200, 75, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    border-radius: 12px;
}

.feature-icon.bg-cyan {
    background: rgba(245, 200, 75, 0.16);
}

.feature-icon.bg-pink {
    background: rgba(248, 215, 124, 0.16);
}

.feature-icon.bg-purple {
    background: rgba(245, 200, 75, 0.18);
}

.feature-icon.bg-blue {
    background: rgba(248, 215, 124, 0.16);
}

.feature-icon.bg-yellow {
    background: rgba(245, 200, 75, 0.22);
}

.feature-icon.bg-green {
    background: rgba(248, 215, 124, 0.14);
}

.feature-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== SHOWCASE SECTION ===== */
.showcase-section {
    position: relative;
    z-index: 10;
    padding: 90px 20px;
    background: var(--color-bg-alt);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.visualizer-mockup {
    width: 100%;
    max-width: 320px;
    height: 320px;
    background: var(--color-surface);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.spectrum-bars {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 150px;
}

.bar {
    width: 8px;
    background: linear-gradient(180deg, #f5c84b, #f0b429);
    border-radius: 4px;
    animation: pulse 0.6s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.showcase-miku {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(245, 200, 75, 0.2), transparent 70%);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.showcase-text h2 {
    margin-bottom: 20px;
}


.showcase-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.showcase-list {
    list-style: none;
}

.showcase-list li {
    color: var(--color-text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    position: relative;
    z-index: 10;
    padding: 90px 20px;
}

.download-card {
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.download-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 200, 75, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.download-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.download-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.download-grid.single {
    grid-template-columns: minmax(280px, 520px);
    justify-content: center;
}

.download-option {
    background: var(--color-bg-alt);
    border: 1px solid rgba(245, 200, 75, 0.2);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition);
}

.download-option:hover {
    border-color: rgba(245, 200, 75, 0.6);
    background: #1a1f2b;
    box-shadow: var(--shadow-sm);
}

.download-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.download-option p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.requirements {
    background: rgba(245, 200, 75, 0.08);
    border-left: 3px solid var(--color-primary);
    padding: 20px;
    border-radius: 10px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    position: relative;
    z-index: 10;
    padding: 90px 20px;
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.9), rgba(17, 20, 28, 0.95));
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.comment-card {
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.comment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 200, 75, 0.4);
}

.comment-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5c84b, #f0b429);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.comment-meta h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.comment-meta p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.comment-rating {
    color: var(--color-accent-warm);
    font-size: 0.9rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.comment-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.comment-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-tag {
    background: rgba(248, 250, 252, 0.08);
    color: var(--color-text-muted);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.comments-note {
    text-align: center;
    margin-top: 30px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 10;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-display);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--color-text);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-dev {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-web-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-web-link:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-card {
        padding: 40px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .btn-nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-title {
        font-size: 1.9rem;
    }

    .download-card {
        padding: 30px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .mockup-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 70px 15px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ===== LOAD ANIMATIONS ===== */
.hero-text-content {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero-visual {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
