/* ============================================
   POPGROUP AFFILIATE - PRODUCTION READY CSS
   Mobile-First | SEO-Optimized | High-Converting
   ============================================ */

/* ============ RESET & VARIABLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FFB81C;
    --primary-dark: #ff7a00;
    --secondary: #1a1a1a;
    --dark: #0b0b0b;
    --card: #141414;
    --text: #ffffff;
    --text-light: #e0e0e0;
    --sub: #9a9a9a;
    --border: #2a2a2a;
    --error: #ff6b6b;
    --success: #51cf66;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 2vw, 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #0f0f0f 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body:has(.sticky-cta) {
    padding-bottom: 0;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    letter-spacing: -0.3px;
}

h3 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
    color: var(--sub);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============ UTILITIES ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    flex-shrink: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 58px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--sub);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-login {
    background: linear-gradient(45deg, var(--primary), #ffcc00);
    color: #000 !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ HERO SECTION ============ */
.hero-section {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(2.4rem, 5vw, 4rem);
    overflow: hidden;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(500px, 680px);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-banner {
    width: 100%;
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
}

.hero-banner-side {
    justify-content: flex-end;
}

.hero-image {
    width: min(100%, 560px);
    max-height: 220px;
    display: block;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.hero-image-large {
    width: min(100%, 760px);
    max-height: 360px;
}

.hero-content {
    padding: 0.85rem 0 1rem;
    text-align: center;
    background: none;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text {
    max-width: 640px;
    margin: 0 auto;
}

.hero-title {
    background: linear-gradient(45deg, var(--primary), #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.55rem;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(0.92rem, 1.8vw, 1.02rem);
    color: var(--text-light);
    margin-bottom: 0.9rem;
    line-height: 1.45;
    text-align: left;
}

.hero-summary {
    color: var(--text-light);
    margin: 0 0 1.25rem;
    line-height: 1.75;
    font-size: clamp(0.95rem, 1.4vw, 1rem);
    text-align: left;
}

.hero-promo-list {
    list-style: none;
    margin: 1.25rem 0 1.35rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.hero-promo-list-compact {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hero-promo-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

.hero-promo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 184, 28, 0.1);
}

.hero-inline-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.hero-inline-actions-center {
    margin-top: 1.1rem;
}

.hero-inline-actions-left {
    justify-content: flex-start;
    margin-top: 0.2rem;
}

.btn-telegram {
    background: linear-gradient(135deg, #2AABEE, #168ACD) !important;
    border: 2px solid #2AABEE !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(34, 158, 217, 0.34);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #2AABEE, #168ACD) !important;
    color: #fff !important;
    border-color: #2AABEE !important;
}

.btn-telegram svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.hero-inline-actions .btn-telegram {
    color: #fff !important;
    background: linear-gradient(135deg, #2AABEE, #168ACD) !important;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(45deg, var(--primary), #ffcc00);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.2);
    gap: 0.5rem;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 184, 28, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #ffcc00);
    color: #000 !important;
}

.btn-secondary {
    background: var(--card);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.btn-large {
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 3rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.btn-full {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem);
}

/* ============ EVENTS SECTION ============ */
.events-section {
    padding: clamp(2.6rem, 5vw, 4.6rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.04), rgba(0, 0, 0, 0.35));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.events-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.95rem;
}

.events-nav {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 184, 28, 0.35);
    background: rgba(20, 20, 20, 0.92);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.events-nav:hover {
    background: rgba(255, 184, 28, 0.14);
    border-color: rgba(255, 184, 28, 0.6);
}

.events-nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.event-slider {
    position: relative;
    margin-top: clamp(1.2rem, 3vw, 2rem);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.event-gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    padding-bottom: 0;
    scrollbar-width: none;
    cursor: grab;
    border-radius: 20px;
}

.event-card {
    flex: 0 0 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    scroll-snap-align: start;
    padding: 0.45rem;
}

.event-card:hover {
    border-color: rgba(255, 184, 28, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(255, 184, 28, 0.12);
}

.event-media {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    background: #0f0f0f;
    padding: 0;
    border-radius: 14px;
}

.event-gallery-grid::-webkit-scrollbar {
    display: none;
}

/* ============ FEATURED PLATFORMS SECTION ============ */
.platforms-section {
    padding: clamp(3.1rem, 5.5vw, 5.4rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.08), rgba(255, 204, 0, 0.03));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.section-description {
    text-align: center;
    color: var(--sub);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 184, 28, 0.35);
    border-radius: 999px;
    background: rgba(255, 184, 28, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(1rem, 3vw, 2rem) 0;
}

.platform-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card-top {
    margin-bottom: 1.25rem;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge,
.mini-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.badge-new,
.mini-tag {
    background: rgba(255, 184, 28, 0.18);
    color: #ffd15c;
    border: 1px solid rgba(255, 184, 28, 0.55);
}

.badge-popular {
    background: rgba(81, 207, 102, 0.18);
    color: #7df58f;
    border: 1px solid rgba(81, 207, 102, 0.5);
}

.badge-hot {
    background: rgba(255, 107, 107, 0.18);
    color: #ff8e8e;
    border: 1px solid rgba(255, 107, 107, 0.55);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ffcc00);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 184, 28, 0.15);
}

.platform-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.platform-desc {
    margin-bottom: 0;
}

.platform-features {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    padding: 0;
}

.platform-features li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-light);
}

.platform-features li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 184, 28, 0.12);
}

.platform-features.compact {
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* ============ BENEFITS SECTION ============ */
.benefits-section {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(255, 184, 28, 0.05));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin: clamp(2rem, 4vw, 3rem) 0;
}

.benefit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 184, 28, 0.1);
}

.benefit-icon {
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    color: var(--text);
    margin-bottom: 0.8rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.benefit-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin: 0;
}

/* ============ DISCLAIMER SECTION ============ */
.disclaimer-section {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 184, 28, 0.05));
    border-top: 3px solid var(--error);
}

.disclaimer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    background: var(--card);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: clamp(1.5rem, 3vw, 2rem) 0;
}

.disclaimer-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.disclaimer-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: block;
}

.disclaimer-item p {
    margin: 0;
    color: var(--text-light);
}

.disclaimer-text {
    background: var(--card);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    border-left: 4px solid var(--error);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.disclaimer-text p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}

/* ============ CTA SECTION ============ */
.cta-final-section {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(0, 0, 0, 0.3));
}

.cta-box {
    background: var(--card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ============ FLOATING BUTTONS ============ */
.telegram-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #0088cc, #0066aa);
    color: white;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    transition: var(--transition);
    z-index: 999;
    white-space: nowrap;
    text-decoration: none;
}

.telegram-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, var(--dark), rgba(11, 11, 11, 0.8));
    border-top: 2px solid var(--primary);
    z-index: 998;
    display: none;
}

.sticky-cta.show {
    display: block;
}

@media (min-width: 769px) {
    .sticky-cta,
    .sticky-cta.show {
        display: none !important;
    }
}

.sticky-cta .btn {
    width: 100%;
    box-shadow: 0 12px 30px rgba(255, 184, 28, 0.22);
}

/* ============ POPUP MODAL ============ */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    z-index: 2001;
    background: transparent;
    border-radius: 16px;
    overflow: visible;
    width: auto;
    max-width: min(92vw, 420px);
    max-height: 90vh;
    display: inline-flex;
    flex-direction: column;
    animation: popupSlideIn 0.3s ease-out;
    padding: 0;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: var(--transition);
}

.popup-close:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #000;
}

.popup-image-link {
    display: block;
    width: auto;
    padding: 0;
    line-height: 0;
    border-radius: 16px;
    overflow: hidden;
}

.popup-image {
    width: min(88vw, 360px);
    max-width: 360px;
    max-height: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 16px;
}

/* ============ LOGIN SECTION ============ */
.login-seo-content {
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.5));
    margin-top: 70px;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: stretch;
}

.login-intro-card,
.login-summary-card {
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(11, 11, 11, 0.92));
    border: 1px solid rgba(255, 184, 28, 0.12);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.login-lead {
    max-width: 58ch;
    color: var(--text-light);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.login-seo-content h1 {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.seo-article {
    background: var(--card);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-article h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.seo-article h3 {
    color: var(--text);
    margin-top: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.seo-article ol,
.seo-article ul {
    list-style-position: inside;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.seo-article li {
    margin: 1rem 0;
    color: var(--sub);
    line-height: 1.8;
}

.login-iframe-container {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.iframe-wrapper {
    background: var(--card);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.iframe-shell {
    border-radius: 20px;
    border-color: rgba(255, 184, 28, 0.16);
}

.iframe-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.03));
    border-bottom: 1px solid rgba(255, 184, 28, 0.14);
}

.iframe-topbar p {
    margin: 0.25rem 0 0;
}

.iframe-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
    min-height: 720px;
}

.iframe-fallback {
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* ============ PLATFORMS PAGE ============ */
.platforms-banner {
    position: relative;
    height: auto;
    display: block;
    overflow: hidden;
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem) 0;
    background: none;
}

.platforms-banner-media {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    z-index: 0;
}

.platforms-banner-media-medium {
    width: fit-content;
    max-width: min(100%, 860px);
}

.platforms-banner-image {
    width: min(100%, 860px);
    max-height: 260px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 16px;
    box-shadow: none;
}

.banner-overlay {
    display: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 760px;
    margin: 1.2rem auto 0;
}

.banner-content h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.15rem, 5vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.banner-content p {
    color: var(--text-light);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.55;
    max-width: 760px;
    margin: 0.2rem auto 0;
}

.banner-content p + p {
    margin-top: 0.55rem;
}

.intro-section {
    padding: clamp(1.5rem, 3vw, 2.4rem) 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

.intro-text {
    font-size: clamp(1rem, 1.75vw, 1.1rem);
    max-width: 760px;
    margin: 0.25rem auto 0;
    line-height: 1.65;
    color: var(--text-light);
}

.detailed-platforms {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.platforms-complete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
    margin: clamp(2rem, 4vw, 3rem) 0;
}

.platform-detail {
    background: var(--card);
    padding: 1.15rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.platform-detail:hover {
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(255, 184, 28, 0.12);
    transform: translateY(-6px);
}

.platform-detail h3 {
    color: var(--primary);
    margin-bottom: 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.platform-detail-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.platform-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-detail-icon,
.platform-card-icon {
    width: auto;
    height: 62px;
    max-width: 132px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
}

.platform-card-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.platform-card-brand h3 {
    margin: 0;
    line-height: 1.1;
}

.platform-card-logo {
    width: auto;
    height: 56px;
    max-width: 124px;
    object-fit: contain;
    display: block;
}

.platform-stats {
    display: grid;
    gap: 0.28rem;
}

.platform-stats p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.45;
}

.platform-stats.compact p {
    font-size: 0.94rem;
}

.platform-detail-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.platform-detail-actions .btn {
    flex: 1;
}

.alt-access-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.08), rgba(0, 0, 0, 0.3));
    border-top: 1px solid var(--border);
    margin-top: clamp(2rem, 4vw, 4rem);
}

.alt-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin: clamp(1.5rem, 3vw, 2rem) 0;
}

.alt-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    transition: var(--transition);
}

.alt-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.alt-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.alt-card p {
    margin-bottom: 1.5rem;
}

/* ============ FAQ SECTION ============ */
.faq-platforms-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.05), rgba(0, 0, 0, 0.5));
    border-top: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin: clamp(1.5rem, 3vw, 2rem) 0;
}

.faq-card {
    background: var(--card);
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(255, 184, 28, 0.08);
}

.faq-card h3 {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.4;
}

.faq-card p {
    margin: 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    color: var(--sub);
    line-height: 1.75;
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(10, 10, 10, 0.98));
    border-top: 1px solid var(--border);
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(3rem, 5vw, 5rem);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content-simple {
    max-width: 1100px;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-section p {
    color: var(--sub);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 0.8rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin: 0.6rem 0;
}

.footer-section a {
    color: var(--sub);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1rem, 2vw, 2rem);
    border-top: 1px solid var(--border);
    color: var(--sub);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: var(--sub);
}

.footer-bottom a {
    color: var(--primary);
}

.network-links-section {
    padding: 34px 0 48px;
    background:
        radial-gradient(circle at top center, rgba(255, 184, 28, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(12, 12, 12, 0.95), rgba(8, 8, 8, 0.98));
    border-top: 1px solid rgba(255, 204, 41, 0.12);
}

.network-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.network-links-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 204, 41, 0.28);
    color: #f5f5f5;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.network-links-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 41, 0.5);
    background: rgba(255, 204, 41, 0.12);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ RESPONSIVE DESIGN - TABLET ============ */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.2rem, 3.5vw, 2rem);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 1rem;
        right: 1rem;
        background: rgba(11, 11, 11, 0.98);
        padding: 0.6rem 1rem;
        gap: 0;
        border: 1px solid var(--border);
        border-radius: 16px;
        z-index: 999;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        margin-top: 60px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .hero-copy {
        order: 2;
    }

    .hero-banner-side {
        order: 1;
        justify-content: center;
    }

    .hero-banner {
        min-height: auto;
    }

    .hero-image {
        width: min(100%, 500px);
        max-height: 180px;
        height: auto;
    }

    .hero-image-large {
        width: min(100%, 620px);
        max-height: 240px;
    }

    .platforms-banner-image {
        width: 100%;
        max-height: 220px;
    }

    .platform-card.featured-top {
        transform: scale(1);
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .disclaimer-item {
        flex-direction: column;
        text-align: center;
    }

    .telegram-button {
        bottom: 80px;
        right: 10px;
        left: auto;
        width: auto;
        justify-content: center;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .iframe-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .hero-copy {
        max-width: 560px;
    }

    .hero-banner-side {
        min-height: 100%;
    }

    .hero-image-large {
        margin-right: 0;
    }
}

/* ============ RESPONSIVE DESIGN - MOBILE ============ */
@media (max-width: 480px) {
    :root {
        --transition: all 0.2s ease-out;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: clamp(1.3rem, 5vw, 2rem);
        margin-bottom: 0.8rem;
    }

    h2 {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }

    h3 {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .navbar-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .logo-img {
        height: 44px;
    }

    .hero-section {
        margin-top: 60px;
        padding-bottom: 1rem;
    }

    .hero-banner {
        min-height: auto;
    }

    .hero-image {
        width: 100%;
        max-height: 150px;
        height: auto;
        object-position: center;
        border-radius: 12px;
    }

    .hero-image-large {
        max-height: 210px;
    }

    .hero-content {
        padding: 1.25rem 0 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-inline-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-inline-actions .btn {
        flex: 0 0 calc(50% - 0.375rem);
        min-width: 0;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .platforms-section,
    .events-section,
    .benefits-section,
    .disclaimer-section,
    .cta-final-section,
    .login-seo-content,
    .alt-access-section,
    .faq-platforms-section {
        padding: clamp(1.5rem, 3vw, 2rem) 1rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-gallery-grid {
        padding-bottom: 0;
    }

    .event-card {
        flex-basis: 100%;
        max-width: none;
    }

    .event-slider {
        max-width: 300px;
    }

    .event-media {
        max-height: 360px;
    }

    .platform-card {
        padding: 1.3rem;
    }

    .platform-card-top {
        margin-bottom: 0.95rem;
    }

    .platform-badges {
        margin-bottom: 0.8rem;
    }

    .platform-card-brand {
        gap: 0.6rem;
    }

    .platform-card-logo {
        height: 42px;
        max-width: 94px;
    }

    .platform-detail-icon,
    .platform-card-icon {
        height: 52px;
        max-width: 112px;
    }

    .platform-card h3 {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .platform-stats.compact {
        gap: 0.2rem;
    }

    .platform-stats.compact p {
        font-size: 0.9rem;
        line-height: 1.38;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .benefit-card {
        padding: 1rem;
    }

    .platforms-complete-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .platform-detail-actions {
        flex-direction: column;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }

    .disclaimer-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .disclaimer-item {
        gap: 1rem;
    }

    .telegram-button {
        padding: 0.8rem 1.2rem;
        bottom: 70px;
        right: 10px;
        font-size: 0.8rem;
        border-radius: 40px;
    }

    .sticky-cta {
        padding: 0.8rem;
    }

    body:has(.sticky-cta) {
        padding-bottom: 5.6rem;
    }

    .footer {
        padding: 1.5rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .network-links-grid a {
        min-width: calc(50% - 6px);
    }

    .faq-card {
        padding: 1rem;
    }

    .popup-content {
        width: min(94vw, 420px);
        max-width: 420px;
        max-height: 85vh;
    }

    .iframe-wrapper iframe {
        min-height: 500px;
    }

    .login-iframe-container {
        padding: 1rem 0;
    }

    .iframe-topbar {
        padding: 1rem;
    }

    .platform-detail {
        padding: 1.2rem;
    }

    .alt-access-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, var(--dark) 0%, #0f0f0f 100%);
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .navbar,
    .telegram-button,
    .sticky-cta,
    .popup-modal,
    .hamburger {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: #0066cc;
    }

    .btn {
        border: 1px solid black;
    }
}