/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #b5c644;
    --green-dark: #94a333;
    --green-light: #d4e06e;
    --dark: #0d0d0d;
    --dark-2: #151515;
    --dark-3: #1a1a1a;
    --dark-4: #222222;
    --dark-5: #2a2a2a;
    --gray: #9e9e9e;
    --gray-light: #cccccc;
    --white: #f5f5f5;
    --red: #e74c3c;
    --telegram: #0088cc;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(181, 198, 68, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 22px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(181, 198, 68, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.btn-telegram {
    background: var(--telegram);
    color: white;
}

.btn-telegram:hover {
    background: #006fa3;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(181, 198, 68, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(181, 198, 68, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 136, 204, 0.03) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(181, 198, 68, 0.1);
    border: 1px solid rgba(181, 198, 68, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-green {
    color: var(--green);
}

.text-gray {
    color: var(--gray);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(181, 198, 68, 0.1);
    border: 1px solid rgba(181, 198, 68, 0.15);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--dark-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(181, 198, 68, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(181, 198, 68, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 20px;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.feature-card-cta {
    background: linear-gradient(135deg, rgba(181, 198, 68, 0.1), rgba(181, 198, 68, 0.02));
    border-color: rgba(181, 198, 68, 0.15);
}

.feature-card-cta .btn {
    margin-top: 16px;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.category-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover {
    border-color: rgba(181, 198, 68, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    background: var(--dark-4);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(181, 198, 68, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: rgba(181, 198, 68, 0.15);
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(181, 198, 68, 0.1);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
}

.category-tag.danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--red);
}

.category-card-danger {
    border-color: rgba(231, 76, 60, 0.15);
}

.category-card-danger:hover {
    border-color: rgba(231, 76, 60, 0.3);
}

.category-card-danger .category-icon {
    background: rgba(231, 76, 60, 0.08);
    color: var(--red);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--dark-2);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(10px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.open {
    border-color: rgba(181, 198, 68, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--gray);
    transition: var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
}

.faq-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    color: #e8a09a;
    font-size: 13px;
    line-height: 1.5;
}

.faq-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--red);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(181, 198, 68, 0.12), rgba(181, 198, 68, 0.03));
    border: 1px solid rgba(181, 198, 68, 0.15);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--gray-light);
    font-size: 16px;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 100px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--dark-2);
}

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

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.footer-links a {
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--gray);
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 50%;
    color: var(--gray);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 800;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
}

.form-group input {
    padding: 12px 16px;
    background: var(--dark-4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(181, 198, 68, 0.1);
}

.form-group input::placeholder {
    color: var(--gray);
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--dark-5);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}

.captcha-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--green);
    font-family: monospace;
    flex: 1;
    user-select: none;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(181, 198, 68, 0.05) 2px,
        rgba(181, 198, 68, 0.05) 4px
    );
}

.captcha-refresh {
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 6px;
    color: var(--gray);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition);
    display: flex;
}

.captcha-refresh:hover {
    background: rgba(255,255,255,0.1);
    color: var(--green);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--green);
}

.form-error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: var(--red);
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.5;
}

/* Success Modal */
.modal-success {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(181, 198, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.modal-success h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.success-id {
    font-size: 15px;
    color: var(--green);
    background: rgba(181, 198, 68, 0.08);
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.success-info {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== BOTTOM NAV (Mobile) ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 1500;
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--gray);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-actions #logoutBtn {
        display: inline-flex;
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

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

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .modal {
        padding: 32px 24px;
        margin: 16px;
    }

    .bottom-nav {
        display: flex;
    }

    .footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ===== ANIMATIONS ===== */
.feature-card,
.category-card,
.faq-item {
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

.category-card:nth-child(2) { transition-delay: 0.05s; }
.category-card:nth-child(3) { transition-delay: 0.1s; }
.category-card:nth-child(4) { transition-delay: 0.15s; }
.category-card:nth-child(5) { transition-delay: 0.2s; }
.category-card:nth-child(6) { transition-delay: 0.25s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--dark-5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* Selection */
::selection {
    background: rgba(181, 198, 68, 0.3);
    color: var(--white);
}

/* ===== PHONE MOCKUP SHELL (STANDARDIZED NATIVE VIEWPORT) ===== */
.app-container {
    min-height: 100vh;
    background: var(--dark);
    padding: 0;
    box-sizing: border-box;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Status Bar Mockup */
.phone-status-bar {
    display: none;
}

.status-notch {
    display: none;
}

/* App Main Screen Scrollable Area */
.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    background: #0d0d0d;
}

/* Responsive adjustments - on mobile viewports, show bottom navigation bar */
@media (max-width: 768px) {
    .app-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #0d0d0d;
        border-top: 1px solid #1c1c1c;
        z-index: 1000;
    }
    .phone-screen {
        padding-bottom: 56px;
    }
}

/* Captcha Alignments */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 4px 12px;
    margin-bottom: 8px;
}

.captcha-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--green);
    font-family: 'Courier New', monospace;
    flex: 1;
    text-align: center;
    user-select: none;
    background: #111;
    padding: 8px 12px;
    border-radius: 6px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.captcha-refresh:hover {
    color: var(--green);
    background: rgba(181, 198, 68, 0.1);
}

/* App SVG Logo styling */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo-icon-svg {
    width: 80px;
    height: 80px;
    color: var(--green);
}

/* ===== POST USER ID ===== */
.story-user-id {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    background: rgba(181, 198, 68, 0.08);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* ===== STORY IMAGE ===== */
.story-image {
    margin: 12px -24px;
    border-radius: 0;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.story-image img:hover {
    opacity: 0.9;
}

/* ===== FILE INPUT ===== */
.form-file-input {
    padding: 10px 14px;
    background: var(--dark-4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--gray-light);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.form-file-input:hover {
    border-color: var(--green);
}

.form-file-input::file-selector-button {
    padding: 6px 14px;
    margin-right: 12px;
    background: var(--dark-5);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: var(--gray-light);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.form-file-input::file-selector-button:hover {
    background: rgba(181, 198, 68, 0.15);
    border-color: var(--green);
    color: var(--green);
}

/* ===== SAVE/BOOKMARK BUTTON ===== */
.save-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.save-btn:hover {
    color: var(--green);
    background: rgba(181, 198, 68, 0.08);
}

.save-btn.saved {
    color: var(--green);
}

.save-btn.saved svg {
    fill: var(--green);
}

