/* ============================================
   ZIRO13 - Premium Design System
   Modern Creator Ecosystem - COMPLETE
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --primary-dark: #4834D4;
    
    /* Accent Colors */
    --accent: #00CEC9;
    --accent-light: #81ECEC;
    --accent-dark: #00B5B0;
    
    /* Background Colors */
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-tertiary: #1A1A24;
    --bg-card: rgba(18, 18, 26, 0.8);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #6C6C80;
    
    /* Glass Effect */
    --glass-bg: rgba(18, 18, 26, 0.6);
    --glass-border: rgba(108, 92, 231, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: 20px;
    
    /* Glow Effects */
    --glow-primary: 0 0 30px rgba(108, 92, 231, 0.3);
    --glow-accent: 0 0 30px rgba(0, 206, 201, 0.3);
    --glow-strong: 0 0 50px rgba(108, 92, 231, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --gradient-accent: linear-gradient(135deg, #00CEC9 0%, #81ECEC 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0F 0%, #1A1A24 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation: float 30s ease-in-out infinite;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(108, 92, 231, 0.42);
    box-shadow: var(--glow-primary);
    transform: translateY(-4px);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
    color: white;
}

.btn-primary::after,
.btn-secondary::after,
.btn-admin::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-admin:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.4rem;
    background: rgba(0, 206, 201, 0.08);
    color: var(--accent-light);
    border: 1px solid rgba(0, 206, 201, 0.32);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-admin:hover {
    background: rgba(0, 206, 201, 0.16);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--glow-accent);
    transform: translateY(-2px);
}

.btn-admin[hidden] {
    display: none;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

@media (min-width: 1024px) {
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-cta,
    .hero-highlights,
    .hero-visual {
        animation: heroDesktopEntrance 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-title { animation-delay: 0.08s; }
    .hero-description { animation-delay: 0.16s; }
    .hero-cta { animation-delay: 0.24s; }
    .hero-highlights { animation-delay: 0.32s; }
    .hero-visual { animation-delay: 0.18s; }

    .rotating-service {
        display: inline-block;
        animation: rotatingServicePulse 2.8s ease-in-out infinite;
        transform-origin: center;
        transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
    }

    .rotating-service.is-switching {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        filter: blur(4px);
    }
}

@keyframes heroDesktopEntrance {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes rotatingServicePulse {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(108, 92, 231, 0));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(108, 92, 231, 0.38));
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.rotating-service {
    display: inline-block;
    transition: opacity 220ms ease, transform 220ms ease;
}

.rotating-service.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 2rem;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation:
        heroBadgeIn 720ms cubic-bezier(0.16, 1, 0.3, 1) both,
        floatBadge 3.2s ease-in-out 900ms infinite;
}

.hero-highlights span:nth-child(2) { animation-delay: 0.18s, 1.08s; }
.hero-highlights span:nth-child(3) { animation-delay: 0.36s, 1.26s; }

.hero-highlights i {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--primary-light);
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes heroBadgeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 500px;
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:nth-child(3) { background: #27CA40; }

.preview-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.preview-chart {
    position: relative;
    width: 100%;
    height: 260px;
    padding: 1rem;
    border: 1px solid rgba(108, 92, 231, 0.16);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.04));
}

.preview-chart canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.trust-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    color: var(--text-muted);
}

.trust-bar strong {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.trust-bar i {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--primary-light);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    padding: 6rem 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    padding: 2.5rem;
    text-align: center;
}

.about-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 6rem 4rem;
}

.flow-section,
.faq-section {
    position: relative;
    width: 100%;
    padding: 6rem clamp(1.25rem, 4vw, 4rem);
    overflow: hidden;
}

.flow-section {
    background:
        linear-gradient(180deg, rgba(108, 92, 231, 0.035), rgba(0, 206, 201, 0.02) 52%, transparent),
        radial-gradient(circle at 12% 16%, rgba(108, 92, 231, 0.08), transparent 30%),
        radial-gradient(circle at 88% 70%, rgba(0, 206, 201, 0.06), transparent 34%);
}

.faq-section {
    background:
        linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.025) 45%, transparent),
        radial-gradient(circle at 50% 10%, rgba(108, 92, 231, 0.06), transparent 32%);
}

.flow-section::before,
.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.flow-section .section-header,
.faq-section .section-header {
    width: min(100%, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.flow-grid {
    position: relative;
    width: min(100%, 1560px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(0.85rem, 1.2vw, 1.25rem);
    align-items: stretch;
}

.flow-grid::before {
    content: '';
    position: absolute;
    top: 2.95rem;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.5), rgba(0, 206, 201, 0.38), transparent);
    z-index: 0;
}

.flow-step {
    min-height: 245px;
    padding: 1.5rem 1rem 1.2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
    overflow: hidden;
}

.flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.4);
}

.flow-step > span {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    color: var(--primary-light);
    border: 0;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.34;
    box-shadow: none;
    transition: border-color 200ms ease, background 200ms ease;
}

.flow-step:hover > span {
    opacity: 0.72;
}

.flow-step i {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.55rem;
    box-sizing: content-box;
    color: var(--accent);
    margin: 0 0 0.15rem;
    border-radius: var(--radius-md);
    background: rgba(0, 206, 201, 0.08);
    border: 1px solid rgba(0, 206, 201, 0.16);
}

.flow-step h3 {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.flow-step p {
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 22ch;
}

.flow-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.flow-cta i {
    width: 1rem;
    height: 1rem;
}

.faq-list {
    width: min(100%, 920px);
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: border-color 200ms ease, background 200ms ease;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 1.2rem 1.35rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    transition: color 300ms ease, background 300ms ease;
}

.faq-question:hover {
    background: rgba(108, 92, 231, 0.06);
}

.faq-question i {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--primary-light);
    transition: transform 300ms ease;
}

.faq-item.open {
    border-color: rgba(108, 92, 231, 0.32);
    background: rgba(108, 92, 231, 0.04);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: max-height 300ms ease;
}

.faq-answer-inner {
    border-top: 1px solid var(--glass-border);
    padding: 1rem 1.35rem 1.3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section .services-grid {
    grid-template-columns: repeat(2, minmax(280px, 460px));
    justify-content: center;
}

.service-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(162, 155, 254, 0.13), transparent 48%, rgba(0, 206, 201, 0.08));
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 240ms ease, transform 240ms ease;
}

.service-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-light);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-light);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-card {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stats-card i {
    width: 3rem;
    height: 3rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
}

.stats-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   OFFICIAL LINKS SECTION - NEW
   ============================================ */
.official-links-section {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.official-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.official-link-card {
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.official-link-card:hover {
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.official-link-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    margin-bottom: 0.5rem;
    transition: transform var(--transition-base);
}

.official-link-card:hover .official-link-icon-wrapper {
    transform: scale(1.1);
}

.official-link-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.official-link-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.official-link-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-base);
}

.official-link-card:hover .official-link-arrow {
    opacity: 1;
    background: var(--primary);
    color: white;
}

.official-link-arrow i {
    width: 1rem;
    height: 1rem;
}

/* Support Section */
.support-section {
    padding: 6rem 4rem;
    display: flex;
    justify-content: center;
}

.support-content {
    max-width: 600px;
    padding: 3rem;
    text-align: center;
}

.support-icon {
    width: 4rem;
    height: 4rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.support-content h2 {
    margin-bottom: 1rem;
}

.support-content p {
    margin-bottom: 2rem;
}

.donation-preview {
    margin-top: 2rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    object-fit: cover;
}

.brand-icon,
.brand-icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.brand-icon {
    font-size: 1.1rem;
}

.brand-icon-lg {
    font-size: 2.8rem;
}

.brand-discord { color: #5865F2; }
.brand-youtube { color: #FF0000; }
.brand-tiktok { color: #FFFFFF; }
.brand-github { color: #FFFFFF; }
.brand-whatsapp { color: #25D366; }
.brand-instagram { color: #E4405F; }

/* CTA Section */
.cta-section {
    padding: 8rem 4rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 4rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-link:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.4);
    color: var(--primary-light);
    transform: translateY(-3px) scale(1.05);
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.auth-modal {
    width: min(100%, 380px);
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    padding: 2rem 1.75rem;
    text-align: center;
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-light);
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.24);
}

.auth-modal h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.auth-modal p {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
}

.auth-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.auth-modal-close {
    margin-top: 0.9rem;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font: inherit;
}

.auth-modal-close:hover {
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    text-align: center;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.donation-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.donation-amount {
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.donation-amount:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
}

/* Icon Styles */
.icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1023px) {
    .hero-section {
        flex-direction: column;
        padding: 6rem 2rem 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .official-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .flow-grid::before {
        top: 2.95rem;
        left: 9%;
        right: 9%;
    }

    .flow-step {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }

    .services-section .services-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .flow-grid {
        max-width: 560px;
    }

    .flow-grid::before {
        top: 2.45rem;
        bottom: 2.45rem;
        left: 2.55rem;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.45), rgba(0, 206, 201, 0.38), transparent);
    }

    .flow-step {
        min-height: auto;
        padding: 1.5rem 1rem 1.2rem;
    }

    .flow-step > span {
        position: absolute;
        left: auto;
        right: 0.9rem;
        top: 0.9rem;
    }

    .trust-bar {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        text-align: center;
    }
}

@media (max-width: 599px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .official-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .official-link-card {
        padding: 1.25rem;
    }

    .flow-section,
    .faq-section {
        padding: 4rem 1rem;
    }
}

/* Security Settings */
.security-page {
    min-height: 100vh;
    padding: 8rem 1.5rem 4rem;
}

.security-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
}

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

.security-card,
.security-session-row {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.security-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.security-card p,
.security-session-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.security-toggle {
    position: relative;
    width: 54px;
    height: 30px;
    flex: 0 0 auto;
}

.security-toggle input {
    opacity: 0;
    position: absolute;
}

.security-toggle span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: 200ms ease;
}

.security-toggle span::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    top: 3px;
    left: 4px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: 200ms ease;
}

.security-toggle input:checked + span {
    background: rgba(108, 92, 231, 0.28);
    border-color: var(--primary);
}

.security-toggle input:checked + span::after {
    transform: translateX(22px);
    background: var(--primary-light);
}

.security-sessions {
    display: grid;
    gap: 0.75rem;
}

.security-session-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.security-session-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.security-current-badge {
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 160, 0.35);
    color: #22d3a0;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
}

@media (max-width: 767px) {
    .security-page {
        padding: 6rem 1rem 3rem;
    }

    .security-shell {
        padding: 1.25rem;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .security-card,
    .security-session-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   ZIRO13 PATCH V4 — Hero Stat Pills + Dashboard Preview +
   Testimonial Section + Scroll Reveal Fix + Mobile Animation
   ============================================================ */

/* ── Hero Stat Pills ───────────────────────────────────────── */
.hero-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    background: rgba(108, 92, 231, 0.07);
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: var(--radius-sm);
    transition: border-color 250ms ease;
}

.stat-pill:hover {
    border-color: rgba(108, 92, 231, 0.35);
}

.stat-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.stat-pill div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stat-pill-value {
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-pill-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1;
}

/* ── Dashboard Preview ─────────────────────────────────────── */
.dashboard-preview {
    width: 500px;
    max-width: min(560px, 100%);
    padding: 1.1rem 1.25rem;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.preview-live-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    background: rgba(0, 206, 201, 0.07);
    border: 1px solid rgba(0, 206, 201, 0.18);
    border-radius: var(--radius-full);
    padding: 2px 8px;
    font-size: 0.62rem;
    color: var(--accent);
    font-weight: 500;
}

.preview-live-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
}

/* 4 mini stat cards */
.preview-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 0.7rem;
}

.preview-stat-card {
    background: rgba(108, 92, 231, 0.07);
    border: 1px solid rgba(108, 92, 231, 0.12);
    border-radius: 7px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.psc-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.psc-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.psc-sub {
    font-size: 0.52rem;
    color: var(--accent);
    font-weight: 500;
}

/* Chart box */
.preview-chart-box {
    background: rgba(108, 92, 231, 0.04);
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.65rem;
}

.preview-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.preview-chart-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.preview-chart-meta {
    font-size: 0.58rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.preview-chart-filters {
    display: flex;
    gap: 3px;
}

.pcf-btn {
    background: transparent;
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.58rem;
    padding: 2px 7px;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: all 150ms ease;
}

.pcf-btn:hover,
.pcf-btn.active {
    background: rgba(108, 92, 231, 0.2);
    border-color: rgba(108, 92, 231, 0.45);
    color: var(--primary-light);
}

#heroChart {
    width: 100%;
    height: 72px;
    display: block;
}

/* Top lists */
.preview-lists {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
}

.preview-list {
    min-width: 0;
    background: rgba(108, 92, 231, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 7px;
    padding: 0.55rem 0.65rem;
}

.pl-title {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.pl-items {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pl-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pl-item:last-child {
    border-bottom: none;
}

.pl-rank {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(108, 92, 231, 0.5);
    width: 10px;
    text-align: center;
    flex-shrink: 0;
}

.pl-name {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.72);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-bar-wrap {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    flex-shrink: 0;
}

.pl-bar {
    height: 100%;
    border-radius: 2px;
}

.pl-bar.dl { background: linear-gradient(90deg, #6c5ce7, #a29bfe); }
.pl-bar.lk { background: linear-gradient(90deg, #d63031, #fd79a8); }

.pl-count {
    font-size: 0.56rem;
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 22px;
    text-align: right;
}

/* ── Testimonial Section ───────────────────────────────────── */
.testimonial-section {
    padding: 5rem 4rem;
    overflow: hidden;
}

.testimonial-grid {
    display: flex;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 0.25rem;
    scroll-snap-type: x mandatory;
    padding: 0.2rem 0.25rem 0.85rem;
    -webkit-overflow-scrolling: touch;
}

.testimonial-grid::-webkit-scrollbar {
    height: 6px;
}

.testimonial-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.testimonial-grid::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.55);
    border-radius: 999px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
    padding: 1.5rem;
    scroll-snap-align: start;
    transition: border-color 250ms ease, transform 250ms ease;
}

.testimonial-card:hover {
    border-color: rgba(108, 92, 231, 0.38);
    transform: translateY(-3px);
}

.tc-stars {
    color: #f59e0b;
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.tc-body {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.tc-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.tc-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.tc-product {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
}

.testimonial-empty {
    display: none;
}

/* ── Scroll Reveal Fix (PC threshold terlalu ketat) ────────── */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
}

.reveal {
    transform: translateY(32px) scale(0.98);
    filter: blur(3px);
    transition:
        opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.68s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.68s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    will-change: auto;
}

/* ── Hero Highlights fix (always visible on all devices) ───── */
.hero-highlights span {
    opacity: 1 !important;
    transform: none !important;
    /* Keep floating animation only, remove entrance animation conflict */
    animation: floatBadge 3.2s ease-in-out 0.4s infinite !important;
}

.hero-highlights span:nth-child(1) { animation-delay: 0s, 0.3s !important; }
.hero-highlights span:nth-child(2) { animation-delay: 0s, 0.5s !important; }
.hero-highlights span:nth-child(3) { animation-delay: 0s, 0.7s !important; }

/* ── Mobile Animation (smooth, no blur/scale GPU overhead) ─── */
@media (max-width: 767px), (pointer: coarse) {
    .reveal {
        transform: translateY(20px);
        filter: none;
        transition:
            opacity 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.visible {
        transform: translateY(0);
        filter: none;
    }
    .reveal-left  { transform: translateX(-16px); filter: none; transition: opacity 0.38s ease, transform 0.38s ease; }
    .reveal-right { transform: translateX(16px);  filter: none; transition: opacity 0.38s ease, transform 0.38s ease; }

    /* Stat pills: 3-column grid on small screens */
    .hero-stat-pills {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.45rem;
    }

    .stat-pill {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.5rem 0.6rem;
    }

    /* Dashboard preview hidden on mobile (existing behaviour) */
    .preview-stat-cards { grid-template-columns: repeat(2, 1fr); }

    /* Testimonial carousel: one card focus on small screens */
    .testimonial-card { flex-basis: min(88vw, 360px); }
    .testimonial-section { padding: 3rem 1.25rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .testimonial-card { flex-basis: calc((100% - 1.25rem) / 2); }
    .testimonial-section { padding: 4rem 2rem; }
    .dashboard-preview { width: 100%; }
}

/* ── prefers-reduced-motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
    .hero-highlights span { animation: none !important; }
    .stat-pill-dot, .preview-live-dot { animation: none !important; }
}

/* ZIRO13 PATCH V4 FIXED - Recent downloads and review widgets */
.recent-downloads-section {
    padding: 4rem 4rem 2rem;
}

.recent-downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.recent-download-card {
    min-width: 0;
    padding: 1rem;
    background: rgba(15, 15, 26, 0.74);
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: 8px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.recent-download-card:hover {
    border-color: rgba(108, 92, 231, 0.42);
    transform: translateY(-2px);
}

.recent-download-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 0.45rem;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    background: rgba(0, 206, 201, 0.12);
    color: var(--accent);
    font-size: 0.64rem;
    font-weight: 700;
}

.recent-download-badge.premium {
    background: rgba(108, 92, 231, 0.16);
    color: var(--primary-light);
}

.recent-download-card h3 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.35;
}

.recent-download-card p {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.recent-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 0 0.75rem;
    border: 1px solid rgba(108, 92, 231, 0.28);
    border-radius: 6px;
    color: var(--primary-light);
    background: rgba(108, 92, 231, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.ziro-rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 22px;
    color: #f59e0b;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.ziro-rating-chip[hidden] {
    display: none !important;
}

.ziro-rating-stars,
.ziro-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.ziro-modal-review {
    margin-top: 1rem;
}

.ziro-review-box {
    padding: 1rem;
    background: rgba(15, 15, 26, 0.72);
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: 8px;
}

.ziro-review-loading,
.ziro-review-empty {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ziro-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ziro-review-kicker {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--primary-light);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ziro-review-head h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.ziro-review-score {
    display: grid;
    justify-items: end;
    gap: 0.12rem;
    flex-shrink: 0;
}

.ziro-review-score strong {
    color: var(--text-primary);
    font-size: 1.25rem;
    line-height: 1;
}

.ziro-review-score small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.ziro-review-form {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.ziro-review-form label {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
}

.ziro-review-stars {
    display: flex;
    gap: 0.25rem;
}

.ziro-review-stars button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(108, 92, 231, 0.22);
    border-radius: 6px;
    background: rgba(108, 92, 231, 0.08);
    color: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.ziro-review-stars button.active,
.ziro-review-stars button:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ziro-review-form textarea {
    width: 100%;
    min-height: 78px;
    resize: vertical;
    padding: 0.75rem;
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font: inherit;
}

.ziro-review-form textarea:focus {
    outline: none;
    border-color: rgba(108, 92, 231, 0.55);
}

.ziro-review-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ziro-review-submit {
    min-height: 34px;
    padding: 0 0.9rem;
    border: 1px solid rgba(108, 92, 231, 0.45);
    border-radius: 6px;
    background: rgba(108, 92, 231, 0.18);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
}

.ziro-review-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.ziro-review-note {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.ziro-review-list {
    display: grid;
    gap: 0.65rem;
}

.ziro-review-item {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
}

.ziro-review-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.ziro-review-item strong {
    color: var(--text-primary);
    font-size: 0.82rem;
}

.ziro-review-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}

.ziro-review-item small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

@media (max-width: 767px) {
    .recent-downloads-section {
        padding: 3rem 1.25rem 1rem;
    }

    .recent-downloads-grid {
        grid-template-columns: 1fr;
    }

    .ziro-review-head {
        display: grid;
    }

    .ziro-review-score {
        justify-items: start;
    }

    .ziro-review-stars button {
        width: 36px;
        height: 36px;
    }
}

.admin-review-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 0.8fr) 120px auto;
    gap: 0.75rem;
    align-items: start;
}

.admin-review-form textarea {
    grid-column: 1 / -2;
    min-height: 76px;
    resize: vertical;
}

.admin-review-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.admin-review-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 0.9rem;
    border: 1px solid rgba(108, 92, 231, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.admin-review-item h4 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.admin-review-item p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

.admin-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.admin-review-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

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

    .admin-review-form textarea {
        grid-column: auto;
    }

    .admin-review-item {
        grid-template-columns: 1fr;
    }
}
