/* Reverb - 1:1 Copy */
:root {
    --reverb-orange: #f26722;
    --text-black: #222222;
    --text-gray: #767676;
    --border-gray: #d8d8d8;
    --bg-light: #f4f4f4;
    --footer-bg: #222222;
    --footer-border: #3d3d3d;
    --link-blue: #5a74d8;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-black);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 20px;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-black);
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--reverb-orange);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -1px;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-sell {
    padding: 9px 18px;
    background: var(--white);
    color: var(--text-black);
    border: 2px solid var(--text-black);
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-sell .desktop-text {
    display: none !important;
}

.btn-sell .mobile-text {
    display: inline !important;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-black);
}

.icon-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-right: 8px;
}

.icon-btn-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-black);
    text-decoration: none;
}

.icon-btn-vertical svg {
    width: 24px;
    height: 24px;
    color: var(--text-black);
}

.icon-btn-vertical:hover svg {
    color: var(--reverb-orange);
}

.icon-btn-vertical .icon-label {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-gray);
    margin-top: 2px;
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-black);
    text-decoration: none;
}

.desktop-only {
    display: none !important;
}

.mobile-only {
    display: block;
}

/* ── Search Bar ── */
.search-bar {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Desktop */
.search-bar-desktop {
    display: flex;
    align-items: stretch;
    height: 42px;
    border: 1px solid #222;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.search-bar-desktop .search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}

.search-bar-desktop .search-input::placeholder {
    color: #888;
}

/* убираем встроенную крестик-кнопку в Chrome/Safari */
.search-bar-desktop .search-input::-webkit-search-cancel-button { display: none; }

.search-separator {
    width: 1px;
    align-self: stretch;
    background: #222;
    flex-shrink: 0;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    height: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

.search-button:hover { color: #000; }

.search-button svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Mobile */
.search-bar-mobile {
    padding: 0 16px 12px;
    position: relative;
}

.search-bar-mobile .search-input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 16px;
    border: 1px solid #ccc;
    border-radius: 24px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
    color: #222;
    -webkit-appearance: none;
    appearance: none;
}

.search-bar-mobile .search-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-60%);
    width: 18px;
    height: 18px;
    color: #888;
    pointer-events: none;
}

/* Main Nav */
.main-nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 6px 0;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--text-black);
    white-space: nowrap;
    text-decoration: none;
    font-weight: 400;
}

.nav-item:hover {
    color: var(--reverb-orange);
}

.nav-bold {
    font-weight: 600;
    color: var(--text-black);
}

.nav-item svg {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
}

.hero-section {
    display: none;
}

.login-section {
    padding: 32px 24px 48px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-black);
    text-align: center;
}

.link-blue {
    color: var(--link-blue);
    text-decoration: underline;
}

/* Social Login */
.social-login {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-prefix {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-black);
    text-align: center;
    width: 100%;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.social-btn:hover {
    background: #ebebeb;
}

.social-btn .social-btn-text.mobile-only {
    display: inline;
}

.social-btn .social-btn-text.desktop-only {
    display: none;
}

.google-icon,
.apple-icon,
.facebook-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.chat-icon {
    margin-right: 4px;
    vertical-align: middle;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-gray);
}

.divider span {
    padding: 0 16px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-gray);
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-black);
}

.required {
    color: #dc3545;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    font-size: 14px;
    background: var(--white);
    outline: none;
}

.form-group input:focus {
    border-color: var(--text-black);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    padding: 4px;
}

.btn-login {
    padding: 14px 24px;
    background: #767676;
    color: var(--white);
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    width: 100%;
}

.btn-login:hover {
    background: #555;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-black);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
    background: var(--text-black);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
}

.forgot-password {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    width: 100%;
}

.forgot-password .link-blue {
    color: var(--link-blue);
}

/* Footer */
.footer {
    background: #222222;
    color: var(--white);
    margin-top: auto;
    font-size: 13px;
}

/* Mobile accordion */
.footer-nav-mobile {
    display: flex;
    flex-direction: column;
}

.footer-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid #3d3d3d;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.footer-accordion .chevron {
    transition: transform 0.2s;
}

.footer-accordion.expanded .chevron {
    transform: rotate(180deg);
}

/* Desktop columns */
.footer-columns {
    display: none;
}

/* Subscribe form (mobile) */
.footer-subscribe-mobile {
    padding: 24px 20px;
}

.footer-subscribe-mobile h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.subscribe-form {
    display: flex;
    margin-bottom: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    background: #fff;
    color: #222;
    outline: none;
}

.subscribe-btn {
    padding: 10px 18px;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #eee;
}

.subscribe-disclaimer {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* Locale selector */
.locale-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 8px 16px;
}

.locale-selector .globe-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.locale-sep {
    color: rgba(255,255,255,0.4);
    margin: 0 10px;
}

.locale-mobile {
    display: inline-flex;
    margin-bottom: 24px;
}

.globe-icon {
    flex-shrink: 0;
}

/* Reverb Gives */
.reverb-gives {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.reverb-gives-mobile {
    margin-bottom: 24px;
}

.music-note-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.reverb-gives strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.reverb-gives p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    max-width: 360px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    color: var(--white);
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-mobile {
    justify-content: center;
    margin-bottom: 20px;
}

/* Download button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 24px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.btn-download:hover {
    background: rgba(255,255,255,0.08);
}

.reverb-r {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
}

.btn-download-mobile {
    width: 100%;
    justify-content: center;
    margin-bottom: 24px;
}

/* Footer bottom bar */
.footer-bottom {
    padding: 20px 24px;
    border-top: 1px solid #3d3d3d;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

/* Legal */
.footer-legal {
    padding: 16px 24px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.copyright {
    color: rgba(255,255,255,0.7);
}

.legal-link {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

/* Floating Help */
.floating-help {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #333;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

.floating-help svg {
    width: 24px;
    height: 24px;
}

.help-text {
    display: none;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .desktop-only {
        display: flex !important;
    }

    .desktop-only.block,
    .footer-bottom.desktop-only {
        display: block !important;
    }

    .social-btn .social-btn-text.desktop-only {
        display: inline !important;
    }

    .social-btn .social-btn-text.mobile-only {
        display: none !important;
    }

    .mobile-only {
        display: none !important;
    }

    .header-inner {
        padding: 16px 24px;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .header {
        max-width: 100%;
    }

    .menu-btn {
        display: none;
    }

    .logo {
        flex: 0;
        text-align: left;
        font-size: 32px;
    }

    .search-bar-desktop {
        display: flex !important;
        flex: 1;
    }

    .btn-sell .desktop-text {
        display: inline !important;
    }

    .btn-sell .mobile-text {
        display: none !important;
    }

    .header-actions {
        gap: 16px;
    }

    .btn-sell {
        padding: 10px 20px;
        font-size: 15px;
    }

    .nav-link {
        font-size: 15px;
    }

    .main-nav {
        justify-content: space-between;
        padding: 6px 0;
        overflow: visible;
        max-width: 1400px;
        margin: 0 auto;
        align-items: center;
    }

    .nav-left {
        display: flex;
        align-items: center;
        gap: 0;
        padding-left: 24px;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 0;
        padding-right: 24px;
    }

    .nav-left .nav-item:first-child {
        padding-left: 0;
    }

    .nav-right .nav-item:last-child {
        padding-right: 0;
    }

    .nav-item {
        padding: 6px 16px;
    }

    .main-content {
        flex-direction: row;
        min-height: calc(100vh - 140px);
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px;
        gap: 0;
        align-items: flex-start;
    }

    .hero-section {
        display: flex;
        flex: 1;
        min-width: 0;
        padding: 24px 24px 24px 0;
        align-items: flex-start;
    }

    .hero-video-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
        overflow: hidden;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 32px;
        background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    }

    .hero-text {
        color: var(--white);
        font-size: 24px;
        font-weight: 400;
        line-height: 1.4;
        margin: 0;
    }

    .login-section {
        flex: 0 0 460px;
        max-width: 460px;
        flex-shrink: 0;
        padding: 40px 48px;
        margin-left: 0;
        border-left: 1px solid #eee;
    }

    .login-title {
        font-size: 32px;
    }

    .social-login.desktop-inline .social-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .social-login.desktop-inline .social-btn {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .footer-nav-mobile,
    .footer-subscribe-mobile {
        display: none;
    }

    .footer-columns {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1.3fr 1fr 1.5fr;
        gap: 40px;
        padding: 40px 40px 32px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-col h4 {
        font-size: 13px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 14px;
        margin-top: 0;
        text-transform: none;
    }

    .footer-col h4 + h4 {
        margin-top: 24px;
    }

    .footer-col a {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: rgba(255,255,255,0.85);
        margin-bottom: 8px;
        text-decoration: none;
    }

    .footer-col a:hover {
        color: var(--white);
    }

    .footer-subscribe {
        grid-column: span 1;
    }

    .footer-subscribe h4 {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .footer-subscribe .subscribe-form {
        flex-direction: row;
        margin-bottom: 10px;
        width: 100%;
    }

    .footer-subscribe .subscribe-input {
        border-radius: 4px 0 0 4px;
        flex: 1;
        min-width: 0;
    }

    .footer-subscribe .subscribe-btn {
        border-radius: 0 4px 4px 0;
        padding: 10px 16px;
    }

    .footer-bottom {
        padding: 24px 40px;
        border-top: 1px solid #3d3d3d;
    }

    .footer-bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
    }

    .footer-legal {
        max-width: 1400px;
        margin: 0 auto;
        padding: 14px 40px;
    }

    .floating-help {
        width: auto;
        height: auto;
        padding: 12px 18px;
        border-radius: 24px;
        flex-direction: row;
        gap: 8px;
        background: #222;
    }

    .help-text {
        display: inline !important;
        font-size: 14px;
        font-weight: 500;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .login-section {
        max-width: 400px;
    }
}
