/* ============================================
   BAMCOOKOD - MODERN REDESIGN
   Honeycomb Layout | Modern UI | Clean Design
   Fully Responsive Edition v2.0
   ============================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #dc143c;
    --primary-dark: #8b0000;
    --primary-light: #ff4d6a;
    --gold: #ffd700;
    --gold-dim: rgba(255, 215, 0, 0.6);
    --bg-dark: #0a0008;
    --bg-card: rgba(25, 15, 20, 0.9);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Responsive spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== BACKGROUND EFFECTS ===== */
#background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(220, 20, 60, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 0, 0, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(128, 0, 32, 0.1) 0%, transparent 30%);
}

.star {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* ===== ŞİMŞEK EFEKTİ KALDIRILDI ===== */
.lightning-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(10, 0, 8, 0.95) 0%, rgba(10, 0, 8, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
    z-index: 1000;
}

.header-inner {
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ===== HEADER SOCIAL BUTTONS - İSİMLİ VE LOGOYA YAKIN ===== */
.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-social-left {
    margin-right: auto;
}

.header-social-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.header-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--btn-color, var(--primary));
    opacity: 0;
    transition: var(--transition);
}

.header-social-btn:hover {
    transform: translateY(-2px);
    border-color: var(--btn-color, var(--primary));
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.header-social-btn:hover::before {
    opacity: 0.25;
}

.header-social-btn i {
    position: relative;
    z-index: 1;
    font-size: 15px;
}

/* Buton ismi title attribute'undan alınır */
.header-social-btn::after {
    content: attr(title);
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.5)); }
    50% { filter: drop-shadow(0 0 35px rgba(220, 20, 60, 0.8)); }
}

/* User Profile Mini */
.user-profile-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--gold);
    position: relative;
    flex-shrink: 0;
}

.user-profile-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 15px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-username {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-logout {
    display: block;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
}

/* ===== MAIN LAYOUT ===== */
.main-layout {
    display: flex;
    max-width: 2200px;
    margin: 0 auto;
    padding: 90px var(--spacing-lg) 140px;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 10;
}

/* ===== SIDEBARS ===== */
.sidebar {
    flex: 0 0 150px;
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-ad {
    width: 136px;
    height: 728px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(40, 10, 20, 0.9), rgba(20, 5, 10, 0.95));
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.ad-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(220, 20, 60, 0.8);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 5;
    letter-spacing: 1px;
}

.ad-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 30px rgba(220, 20, 60, 0.2);
    pointer-events: none;
}

.sidebar-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder-content {
    text-align: center;
    color: var(--text-dim);
}

.ad-placeholder-content i {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.3;
}

.ad-placeholder-content span {
    display: block;
    font-size: 14px;
}

.ad-placeholder-content small {
    font-size: 11px;
    opacity: 0.5;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    max-width: 1800px;
    margin: 0 auto;
    min-width: 0;
}

/* ===== SPONSOR SLIDER ===== */
.sponsor-slider {
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.05), transparent);
    border-radius: var(--border-radius);
    padding: 15px 0;
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    position: relative;
}

.sponsor-slider::before,
.sponsor-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sponsor-slider::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.sponsor-slider::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.slider-track {
    display: flex;
    width: max-content;
}

.slide {
    flex: 0 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.slide img {
    max-height: 45px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(30%) brightness(0.9);
    transition: var(--transition);
}

.slide:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

/* ===== CTA BUTTON - SIYAH VE KÜÇÜK ===== */
.cta-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-sm);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #1a1a1a, #000000);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.cta-button i {
    font-size: 16px;
    flex-shrink: 0;
}

.cta-button span {
    word-break: break-word;
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Mobile optimizations for CTA */
@media (max-width: 575px) {
    .cta-button {
        padding: 8px 18px;
        font-size: 11px;
        gap: 8px;
    }
    
    .cta-button i {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .cta-button {
        padding: 7px 16px;
        font-size: 10px;
    }
    
    .cta-button i {
        font-size: 13px;
    }
}

/* ===== PROMO BANNERS ===== */
.promo-banners {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 var(--spacing-sm);
}

.promo-banner {
    flex: 1 1 280px;
    max-width: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.promo-banner:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== HONEYCOMB SECTION - RESPONSIVE GRID ===== */
.honeycomb-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

/* Honeycomb Heading */
.honeycomb-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-sm) 0;
}

.honeycomb-heading h2 {
    color: var(--gold);
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
}

/* ===== HONEYCOMB CARD ===== */
.honeycomb-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition), opacity 0.5s, transform 0.5s;
}

.honeycomb-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.honeycomb-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* ===== LOGO BOYUTU BÜYÜTÜLDÜ ===== */
.honeycomb-logo {
    flex: 0 0 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.honeycomb-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.honeycomb-info {
    flex: 1;
    min-width: 0;
}

.honeycomb-bonus {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    word-break: break-word;
}

.honeycomb-stats {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 13px;
    color: var(--text-dim);
}

/* Honeycomb Glow */
.honeycomb-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    background: radial-gradient(circle at center, var(--card-color), transparent 70%);
    transition: var(--transition);
}

/* Honeycomb Border Animation */
.honeycomb-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(var(--angle, 0deg), transparent, var(--card-color), transparent, var(--card-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
    opacity: 0.6;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderRotate {
    to { --angle: 360deg; }
}

.honeycomb-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.honeycomb-card:hover .honeycomb-glow {
    opacity: 0.15;
}

.honeycomb-card:hover .honeycomb-border {
    opacity: 1;
}

.honeycomb-card:hover .honeycomb-logo img {
    transform: scale(1.1);
}

/* Card animation variations */
.honeycomb-card:nth-child(3n+1) .honeycomb-border { animation-duration: 4s; }
.honeycomb-card:nth-child(3n+2) .honeycomb-border { animation-duration: 5s; animation-direction: reverse; }
.honeycomb-card:nth-child(3n) .honeycomb-border { animation-duration: 3.5s; }

/* ===== UNIFIED CLOSE BUTTON STYLE ===== */
.close-btn-unified,
.popup-close,
.footer-ad-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.close-btn-unified:hover,
.popup-close:hover,
.footer-ad-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
    color: white;
}

/* ===== MODERN POPUP ===== */
.modern-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--spacing-lg);
    animation: fadeIn 0.3s ease;
}

.modern-popup-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.modern-popup {
    background: linear-gradient(145deg, rgba(40, 15, 25, 0.98), rgba(20, 5, 15, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: popupSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: var(--spacing-md);
}

@keyframes popupSlide {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
}

.popup-header {
    padding: 25px 25px 15px;
    text-align: center;
}

.popup-logo {
    max-height: 60px;
    max-width: 200px;
}

.popup-body {
    padding: 0 25px;
}

.popup-image {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.popup-footer {
    padding: 25px;
    text-align: center;
}

.popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(220, 20, 60, 0.4);
}

.popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(220, 20, 60, 0.5);
}

.popup-cta i {
    transition: var(--transition);
}

.popup-cta:hover i {
    transform: translateX(5px);
}

.popup-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.popup-ring {
    position: absolute;
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
}

.popup-ring:first-child {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.popup-ring:last-child {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* ===== DOLLAR RAIN ===== */
#dollar-rain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4000;
    display: none;
    overflow: hidden;
}

.dollar {
    position: absolute;
    top: -50px;
    color: #22c55e;
    font-weight: bold;
    animation: dollarFall linear forwards;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes dollarFall {
    to {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* ===== FOOTER AD - DÜZELTİLDİ ===== */
.footer-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 15px 20px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 0, 8, 0.9) 30%, rgba(10, 0, 8, 0.98) 100%);
    animation: slideUp 0.5s ease;
}

.footer-ad.hiding {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

.footer-ad-container {
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, rgba(40, 15, 25, 0.95), rgba(20, 5, 15, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.footer-ad-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 5px;
}

.footer-ad-link img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer close button */
.footer-ad-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.footer-ad-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    animation: progress 5s linear infinite;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--spacing-lg);
}

.modal-container {
    background: linear-gradient(145deg, rgba(40, 15, 25, 0.98), rgba(20, 5, 15, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    padding: var(--spacing-xl);
    position: relative;
    margin: var(--spacing-md);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header i {
    font-size: 50px;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    color: var(--gold);
    font-size: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.2);
}

.input-group input::placeholder {
    color: var(--text-dim);
}

.input-error {
    color: var(--primary-light);
    font-size: 13px;
    margin-top: -10px;
}

.modal-submit {
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-link {
    text-align: center;
    color: var(--gold);
    font-size: 14px;
}

.modal-error {
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

/* Avatar Picker */
.avatar-picker {
    margin-bottom: 10px;
}

.avatar-picker label {
    display: block;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 14px;
}

.avatar-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.avatar-option {
    cursor: pointer;
}

.avatar-option input {
    display: none;
}

.avatar-option img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.avatar-option input:checked + img {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* ===== POPUP MENU ===== */
.popup-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--spacing-lg);
}

.popup-menu {
    background: linear-gradient(145deg, rgba(40, 15, 25, 0.98), rgba(20, 5, 15, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    margin: var(--spacing-md);
}

.popup-menu-header {
    padding: var(--spacing-lg) 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-menu-header h2 {
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-menu-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-menu-close:hover {
    background: var(--primary);
}

.popup-menu-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-section h3 {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-section h3 i {
    color: var(--gold);
}

.menu-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.menu-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.menu-btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00aaff);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Ultra Wide Screens (1920px+) - 6 sütun */
@media (min-width: 1920px) {
    .honeycomb-section {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
    
    .main-content {
        max-width: 1850px;
    }
    
    .honeycomb-logo {
        flex: 0 0 95px;
        height: 95px;
    }
}

/* Extra Large Screens (1400px - 1919px) - 4 sütun */
@media (min-width: 1400px) and (max-width: 1919px) {
    .honeycomb-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .main-content {
        max-width: 1350px;
    }
}

/* Large Screens (1200px - 1399px) - 3 sütun */
@media (min-width: 1200px) and (max-width: 1399px) {
    .honeycomb-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .main-content {
        max-width: 1150px;
    }
}

/* Hide sidebars under 1200px */
@media (max-width: 1199px) {
    .sidebar {
        display: none;
    }
    
    .main-layout {
        justify-content: center;
    }
}

/* Medium-Large Screens (1024px - 1199px) - 3 sütun */
@media (min-width: 1024px) and (max-width: 1199px) {
    .honeycomb-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .main-content {
        max-width: 980px;
    }
    
    .honeycomb-logo {
        flex: 0 0 90px;
        height: 90px;
    }
}

/* Medium Screens - Tablets (768px - 1023px) - 2 sütun */
@media (min-width: 768px) and (max-width: 1023px) {
    .honeycomb-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .main-content {
        max-width: 750px;
    }
    
    .header-social-btn {
        height: 34px;
        padding: 0 12px;
    }
    
    .header-social-btn::after {
        font-size: 11px;
    }
    
    .honeycomb-logo {
        flex: 0 0 85px;
        height: 85px;
    }
    
    .footer-ad-container {
        max-width: 600px;
        height: 80px;
    }
}

/* Small Tablets / Large Phones (576px - 767px) - 2 sütun */
@media (min-width: 576px) and (max-width: 767px) {
    .main-header {
        height: 60px;
    }
    
    .header-logo img {
        height: 45px;
    }
    
    .header-social-btn {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }
    
    .header-social-btn i {
        font-size: 13px;
    }
    
    .header-social-btn::after {
        font-size: 10px;
    }
    
    .main-layout {
        padding: 75px 12px 130px;
    }
    
    /* MOBİLDE 2 SÜTUN */
    .honeycomb-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .honeycomb-card {
        padding: 14px;
    }
    
    .honeycomb-logo {
        flex: 0 0 75px;
        height: 75px;
        padding: 10px;
    }
    
    .honeycomb-inner {
        gap: 12px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .honeycomb-bonus {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .footer-ad {
        padding: 12px 15px 15px;
    }
    
    .footer-ad-container {
        max-width: 100%;
        height: 70px;
        margin: 0;
    }
    
    .footer-ad-close {
        top: -12px;
        right: -8px;
        width: 32px;
        height: 32px;
    }
}

/* Mobile Phones (max 575px) - 2 sütun */
@media (max-width: 575px) {
    :root {
        --spacing-lg: 12px;
        --spacing-xl: 20px;
    }
    
    .main-header {
        height: 55px;
    }
    
    .header-inner {
        padding: 0 10px;
        gap: 10px;
    }
    
    .header-social {
        gap: 6px;
    }
    
    /* Mobilde butonlar sadece ikon */
    .header-social-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 10px;
    }
    
    .header-social-btn::after {
        display: none;
    }
    
    .header-social-btn i {
        font-size: 14px;
    }
    
    /* Mobilde 3. butondan sonrasını gizle */
    .header-social-btn:nth-child(n+4) {
        display: none;
    }
    
    .header-logo img {
        height: 38px;
    }
    
    .user-profile-mini {
        width: 34px;
        height: 34px;
    }
    
    .main-layout {
        padding: 70px 10px 125px;
    }
    
    /* MOBİLDE 2 SÜTUN */
    .honeycomb-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .honeycomb-card {
        padding: 12px;
    }
    
    .honeycomb-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .honeycomb-logo {
        flex: 0 0 70px;
        height: 70px;
        width: 70px;
        margin: 0 auto;
        padding: 10px;
    }
    
    .honeycomb-info {
        width: 100%;
    }
    
    .honeycomb-bonus {
        font-size: 10px;
        padding: 5px 8px;
        margin-bottom: 8px;
    }
    
    .honeycomb-stats {
        align-items: center;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .cta-button {
        padding: 10px 18px;
        font-size: 12px;
        gap: 8px;
    }
    
    .cta-button i {
        font-size: 16px;
    }
    
    .promo-banners {
        gap: 10px;
    }
    
    .promo-banner {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
    
    .sponsor-slider {
        margin-bottom: 20px;
        padding: 10px 0;
    }
    
    .sponsor-slider::before,
    .sponsor-slider::after {
        width: 40px;
    }
    
    .slide {
        padding: 0 12px;
        height: 50px;
    }
    
    .slide img {
        max-height: 35px;
        max-width: 90px;
    }
    
    .footer-ad {
        padding: 10px 10px 15px;
    }
    
    .footer-ad-container {
        height: 60px;
        max-width: 100%;
        margin: 0;
    }
    
    .footer-ad-close {
        top: -10px;
        right: -5px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .modern-popup {
        max-width: 95%;
        margin: 10px;
        border-radius: 18px;
    }
    
    .popup-close {
        width: 34px;
        height: 34px;
        font-size: 15px;
        top: 12px;
        right: 12px;
    }
    
    .popup-cta {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .honeycomb-heading {
        gap: 12px;
        padding: 12px 0;
    }
    
    .honeycomb-heading h2 {
        font-size: 14px;
    }
}

/* Extra Small Phones */
@media (max-width: 400px) {
    .header-social-btn {
        width: 32px;
        height: 32px;
    }
    
    .header-social-btn:nth-child(n+3) {
        display: none;
    }
    
    .header-logo img {
        height: 34px;
    }
    
    .main-layout {
        padding: 65px 8px 120px;
    }
    
    .honeycomb-section {
        gap: 8px;
    }
    
    .honeycomb-card {
        padding: 10px;
    }
    
    .honeycomb-logo {
        flex: 0 0 60px;
        height: 60px;
        width: 60px;
        padding: 8px;
    }
    
    .honeycomb-bonus {
        font-size: 9px;
        padding: 4px 7px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .footer-ad-container {
        height: 55px;
    }
    
    .footer-ad-close {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .popup-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .main-header {
        height: 50px;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .main-layout {
        padding-top: 60px;
        padding-bottom: 100px;
    }
    
    .honeycomb-section {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modern-popup {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .popup-header {
        padding: 10px 15px 5px;
    }
    
    .popup-footer {
        padding: 10px 15px;
    }
    
    .footer-ad-container {
        height: 50px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Mobile scrollbar */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(220, 20, 60, 0.5);
    color: white;
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .honeycomb-card:hover {
        transform: none;
    }
    
    .honeycomb-card:active {
        transform: scale(0.98);
    }
    
    .header-social-btn:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .promo-banner:hover {
        transform: none;
    }
    
    .popup-cta:hover {
        transform: none;
    }
    
    .popup-close:hover,
    .footer-ad-close:hover {
        transform: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .sidebar,
    .footer-ad,
    .modern-popup-overlay,
    #dollar-rain-overlay,
    .modal-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main-layout {
        padding: 20px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --primary: #ff1744;
        --gold: #ffea00;
        --bg-dark: #000000;
        --text: #ffffff;
    }
    
    .honeycomb-card,
    .modal-container,
    .modern-popup,
    .footer-ad-container {
        border-width: 2px;
    }
}