/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: white;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
    padding-top: 49px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

/* YILDIZLAR */
.star {
    position: absolute;
    background-color: rgba(254, 0, 9, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: twinkle 3s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(254, 0, 9, 0.8);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Header/Footer düzeltmeleri */
.header-stripe {
    height: 80px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 0 !important;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 20px));
    animation: pulse 2s infinite;
}

.logo-container img {
    width: 108px;
    height: 108px;
    display: block;
}

@keyframes pulse {
    0% { filter: drop-shadow(0 0 15px rgba(254, 0, 9, 0.7)); }
    50% { filter: drop-shadow(0 0 40px rgba(254, 0, 9, 1)); }
    100% { filter: drop-shadow(0 0 15px rgba(254, 0, 9, 0.7)); }
}

/* Sosyal medya boslugu */
.social-promotion {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 80px;
}

/* Reklam alani boyutlari (136x728) */
.ad-column {
    flex: 0 0 136px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.ad-rectangle {
    background: linear-gradient(135deg, #2a0a0a, #1a1a2e);
    border: 2px solid #ffd700;
    border-radius: 10px;
    width: 136px;
    height: 728px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffd700;
    font-weight: bold;
    text-align: center;
    padding: 0px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.ad-rectangle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Simsek efekti için overlay */
.lightning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.1s;
}

/* Buton isik efekti */
.sponsor-card {
    background: rgba(25, 25, 35, 0.8);
    border: 3px solid;
    border-radius: 15px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px var(--glow-color);
    animation: glowPulse 3s infinite alternate;
    cursor: pointer;
    text-decoration: none;
}

@keyframes glowPulse {
    0% { 
        box-shadow: 0 0 20px var(--glow-color); 
        border-color: var(--glow-color);
    }
    100% { 
        box-shadow: 0 0 40px var(--glow-color); 
        border-color: var(--glow-color);
    }
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.sponsor-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.9);
    z-index: 10;
}

.sponsor-card:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* Ana içerik düzeni */
.main-container {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
    gap: 20px;
    position: relative;
    z-index: 10;
    flex: 1;
}

.center-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #ffd700;
    transform: scale(1.1);
}

.ad-button {
    display: inline-block;
    background: linear-gradient(to right, #fe0009, #ff4d4d, #fe0009);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 0, 9, 0.4);
    border: none;
    cursor: pointer;
}

/* Mavi degradeli reklam butonu */
.ad-button.blue-gradient {
    background: linear-gradient(to right, #1e88e5, #42a5f5, #1e88e5);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.ad-button.blue-gradient:hover {
    background: linear-gradient(to right, #42a5f5, #1e88e5, #42a5f5);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

.ad-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 0, 9, 0.6);
    background: linear-gradient(to right, #ff4d4d, #fe0009, #ff4d4d);
}

/* YENI: Sponsor slider stilleri */
.sponsor-slider-container {
    border-radius: 10px;
    padding: 15px;
    margin: 85px 0;
    margin-left: -250px;
    margin-right: -250px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: max-content;
}

.slide {
    flex: 0 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.slide img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s;
}

.slide:hover img {
    transform: scale(1.1);
}

/* SPONSOR GRID DÜZELTMESİ - KESİN ÇÖZÜM */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    width: 100%;
    margin-bottom: 10px;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
}

.bonus-box {
    background: linear-gradient(to right, #fe0009, #ff4d4d, #fe0009);
    color: #fff;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
    width: 90%;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

/* Yüzdelik bilgi kutusu - GÜNCELLENDI */
.percentage-box {
    background: black;
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 5px 15px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    animation: glowPulse 3s infinite alternate;
    width: 100%;
}

.percentage-box h3 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.9);
    margin: 0;
    font-size: 1.4rem;
}

.percentage-box p {
    font-size: 0.9rem;
    text-align: center;
    color: #ffd700;
    margin-top: 5px;
    font-weight: bold;
}

/* Kullanici açilir menüsü */
.user-profile {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding: 5px 15px;
    background: rgba(0,0,0,0.7);
    border-radius: 20px;
    transition: all 0.3s;
}

.user-profile:hover {
    background: rgba(0,0,0,0.9);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #ffd700;
}

.username {
    color: #ffd700;
    font-weight: bold;
    margin-right: 8px;
}

.user-profile i {
    color: #ffd700;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.9);
    border: 1px solid #ffd700;
    border-radius: 5px;
    padding: 10px;
    z-index: 1000;
    display: none;
    min-width: 150px;
}

.logout-btn {
    display: block;
    background: #fe0009;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #ff4d4d;
}

/* REKLAM ALANLARINI MOBIL VE TABLETTE GIZLEME */
@media (max-width: 1199px) {
    .ad-column {
        display: none !important;
    }
}

/* STICKY REKLAM ALANLARI (MASAÜSTÜ) */
@media (min-width: 1200px) {
    .ad-column {
        position: sticky;
        top: 80px;
        align-self: flex-start;
        z-index: 20;
        height: 100vh;
        overflow-y: auto;
    }
}

/* Responsive tasarim */
@media (max-width: 1400px) {
    .ad-column {
        flex: 0 0 136px;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .main-container {
        flex-direction: column;
    }
    
    .ad-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        flex: 1;
        margin-bottom: 20px;
    }
    
    .ad-rectangle {
        height: 300px;
        width: 100%;
        max-width: 728px;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-container img {
        width: 90px;
        height: 90px;
    }
    
    /* Sponsor slider tablet ayarlari */
    .sponsor-slider-container {
        padding: 12px;
    }
    
    .slide {
        padding: 0 15px;
        height: 70px;
    }
    
    .slide img {
        max-height: 50px;
    }
}

/* MOBİLDE SPONSOR KARTLARI 2 SÜTUNA BÖLÜNÜR */
@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-container img {
        width: 120px;
        height: 120px;
    }
    
    .sponsor-card {
        min-height: 230px;
        padding: 15px 10px;
    }
    
    .logo-wrapper {
        height: 100px;
    }
    
    .sponsor-card h3 {
        font-size: 1.1rem;
    }
    
    .ad-column {
        flex-direction: column;
        display: none;
    }
    
    .ad-rectangle {
        width: 100%;
    }
    
    .social-promotion {
        display: block;
        margin-top: 100px;
        padding-top: 20px;
    }
    
    .header-stripe {
        height: 70px;
    }
    
    .logo-container {
        top: 60%;
    }
    
    .social-icons a {
        font-size: 1.8rem;
    }
    
    .ad-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* Sponsor slider mobil ayarlari */
    .sponsor-slider-container {
        padding: 10px;
        margin: 120px 0;
    }

    .slide {
        padding: 0 12px;
        height: 65px;
    }

    .slide img {
        max-height: 45px;
    }
}

/* MOBİLDE SPONSOR KARTLARI 2 SÜTUNA BÖLÜNÜR */
@media (max-width: 480px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .logo-container img {
        width: 120px;
        height: 120px;
    }
    
    .sponsor-card {
        min-height: 210px;
        max-width: none;
        width: 100%;
    }
    
    .logo-wrapper {
        height: 90px;
    }
    
    .sponsor-logo {
        max-height: 72px;
    }
    
    .percentage-box h3 {
        font-size: 1.2rem;
    }
    
    .percentage-box p {
        font-size: 0.8rem;
    }
    
    .bonus-box {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    
    body {
        padding-top: 49px;
    }

    /* Sponsor slider mobil ayarlari */
    .sponsor-slider-container {
        padding: 8px;
        margin: 150px 0;
    }

    .slide {
        height: 55px;
        padding: 0 8px;
    }

    .slide img {
        max-height: 35px;
    }
}

/* MOBİL SLIDER KONUM AYARLARI */
@media (max-width: 768px) {
    .sponsor-slider-container {
        margin: 115px 0 !important;
        padding: 8px;
    }
    
    .social-promotion {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .sponsor-slider-container {
        margin: 115px 0 !important;
        padding: 6px;
    }
    
    .social-promotion {
        margin-top: 50px;
    }
    
    .logo-container {
        top: 55% !important;
    }
}

/* EKRAN BOYUTLARINA GÖRE EK AYARLAMALAR */
@media (max-height: 700px) and (max-width: 768px) {
    .sponsor-slider-container {
        margin: 30px 0 !important;
    }
    
    .social-promotion {
        margin-top: 40px;
    }
}

@media (max-height: 600px) {
    .sponsor-slider-container {
        margin: 20px 0 !important;
        padding: 5px;
    }
    
    .social-promotion {
        margin-top: 30px;
    }
    
    .slide {
        height: 50px !important;
    }
    
    .slide img {
        max-height: 30px !important;
    }
}

/* Ultra genis ekranlar için */
@media (min-width: 1920px) {
    .sponsor-slider-container {
        padding: 20px;
    }
    
    .slide {
        padding: 0 30px;
        height: 100px;
    }
    
    .slide img {
        max-height: 80px;
        max-width: 200px;
    }
}

/* Dikey modlar için */
@media (max-height: 600px) {
    .sponsor-slider-container {
        padding: 10px;
    }
    
    .slide {
        height: 60px;
    }
    
    .slide img {
        max-height: 45px;
    }
}

/* YENI: Sponsor konteyneri */
.sponsor-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

/* Slider düzeltmeleri */
.sponsor-slider-container {
    min-height: 110px;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    position: absolute;
    top: 15px;
    left: 0;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Kart ortalamalari için güncelleme */
.sponsor-card {
    width: 250px;
    flex-shrink: 0;
    margin: 0;
}

/* Responsive ayarlar */
@media (max-width: 1400px) {
    .sponsor-grid {
        max-width: 1100px;
    }
}

@media (max-width: 1200px) {
    .sponsor-card {
        width: 230px;
    }
}

@media (max-width: 992px) {
    .sponsor-grid {
        max-width: 800px;
    }
    .sponsor-card {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .sponsor-grid {
        max-width: 500px;
        gap: 15px;
    }
    .sponsor-card {
        width: 180px;
    }
    .sponsor-slider-container {
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid {
        max-width: 100%;
        gap: 10px;
    }
    .sponsor-card {
        width: 100%;
        max-width: none;
    }
}

/* SLIDER ANIMASYON TANIMI (YENI) */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Slider track için animasyon tanimi */
.slider-track {
    animation: slide 50s linear infinite;
}

.ad-rectangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-actions {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.user-btn {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s;
}

.user-btn:hover {
    background: #ffc400;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #1a1a2e;
    margin: 5% auto;
    padding: 20px;
    border: 2px solid #ffd700;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 20px rgba(255,215,0,0.7);
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ffd700;
    text-decoration: none;
}

.modal h2 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(25, 25, 35, 0.8);
    border: 2px solid #ffd700;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #fe0009;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #fe0009, #ff4d4d);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: linear-gradient(to right, #ff4d4d, #fe0009);
    transform: translateY(-3px);
}

.form-footer {
    text-align: center;
    margin-top: 15px;
}

.forgot-password {
    color: #ffd700;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.avatar-selection {
    margin-bottom: 20px;
}

.avatar-selection h3 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 10px;
}

.avatars {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.avatars label {
    display: inline-block;
    cursor: pointer;
    margin: 5px;
}

.avatars img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.avatars input[type="radio"] {
    display: none;
}

.avatars input[type="radio"]:checked + img {
    border-color: #ffd700;
    box-shadow: 0 0 10px #ffd700;
}

@media (max-width: 768px) {
    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logo-container {
        margin-top: 10px;
    }
    
    .user-actions {
        position: static;
        transform: none;
        margin-top: 210px;
        margin-bottom: 10px;
    }
}

.user-btn, 
.ad-button, 
.btn {
    background: linear-gradient(to right, #ffd700, #ff8c00);
}

/* Hover efektleri */
.user-btn:hover, 
.ad-button:hover, 
.btn:hover {
    background: linear-gradient(to right, #ffcc00, #ff7700);
}

/* Yeni eklenen stiller */
.error-message {
    background: rgba(150, 0, 0, 0.3);
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.error-text {
    color: #ff4d4d;
    margin-top: 5px;
    font-size: 0.9rem;
}
/* Popup stilleri - TAM DÜZELTME */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: fadeIn 0.5s;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
}

.popup-container {
    background: rgba(35,15,15,0.97);
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 40px 30px 30px 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(255,215,0,0.8);
    animation: scaleIn 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    margin: 40px;
}

.popup-logo {
    margin-bottom: 15px;
    max-width: 100%;
}

.popup-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
}

.popup-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 65vh;
}

.popup-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.popup-button {
    display: inline-block;
    background: linear-gradient(to right, #fe0009, #ff4d4d);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    width: auto;
    text-align: center;
    margin-top: 10px;
}

.popup-button:hover {
    background: linear-gradient(to right, #ff4d4d, #fe0009);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254,0,9,0.5);
}

/* KAPATMA BUTONU - TAM DIŞARIDA */
.close-popup {
    position: absolute;
    top: -35px;
    right: -35px;
    background: #ffd700;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 36px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.9);
    z-index: 1000;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    line-height: 1;
}

.close-popup:hover {
    background: #ffc400;
    transform: scale(1.7) rotate(90deg);
}

/* MOBİL OPTİMİZASYONLARI - DÜZELTİLMİŞ */
@media (max-width: 768px) {
    .popup-container {
        padding: 20px;
        max-width: 90%;
    }
    
    .popup-image {
        margin-bottom: 15px;
        max-height: 55vh;
    }
    
    .popup-logo img {
        max-height: 60px;
    }
    
    .popup-button {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .close-popup {
        top: -20px;
        right: -20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        padding: 15px;
        max-width: 95%;
    }
    
    .popup-image {
        max-height: 50vh;
    }
    
    .popup-logo img {
        max-height: 50px;
    }
    
    .popup-button {
        padding: 8px 16px;
        font-size: 14px;
        width: 90%;
        max-width: 300px;
    }
    
    .close-popup {
        top: -15px;
        right: -15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Dikey modlar için */
@media (max-height: 700px) and (max-width: 768px) {
    .popup-image {
        max-height: 45vh;
    }
    
    .popup-logo {
        margin-bottom: 5px;
    }
}

/* Çok küçük ekranlar için */
@media (max-height: 600px) {
    .popup-container {
        max-height: 95vh;
    }
    
    .popup-image {
        max-height: 40vh;
    }
}

/* style.css dosyasına ekleyin */
.sponsor-heading {
    grid-column: 1 / -1;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(166, 12, 12, 0.3);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.sponsor-heading h2 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    font-size: 24px;
}

        /* YENİ STİLLER */
        .popup-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 3000;
            animation: fadeIn 0.5s;
        }
        
        .popup-menu-container {
            background: rgba(35,15,15,0.95);
            border: 3px solid #ffd700;
            border-radius: 15px;
            padding: 20px;
            width: 90%;
            max-width: 600px;
            box-shadow: 0 0 40px rgba(255,215,0,0.7);
            animation: scaleIn 0.5s;
        }
        
        .popup-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ffd700;
        }
        
        .popup-menu-title {
            color: #ffd700;
            font-size: 24px;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
        }
        
        .close-popup-menu {
            background: #ffd700;
            color: #000;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .popup-menu-sections {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .popup-menu-section {
            background: rgba(0,0,0,0.3);
            padding: 15px;
            border-radius: 10px;
            border: 1px solid #ffd700;
        }
        
        .section-title {
            text-align: center;
            color: #ffd700;
            margin-bottom: 15px;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .button-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }
        
        .menu-button {
            background: linear-gradient(to right, #1e88e5, #42a5f5);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s;
            font-weight: bold;
            text-align: center;
            min-width: 180px;
            font-size: 16px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
        
        .menu-button:hover {
            background: linear-gradient(to right, #42a5f5, #1e88e5);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(33, 150, 243, 0.6);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes scaleIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        
        /* SOSYAL BUTONLAR */
.social-buttons-container {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.social-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* SOSYAL BUTONLAR - GÜNCELLENDİ */
.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px 15px 15px;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--color1), var(--color2));
    box-shadow: 0 4px 15px var(--glow-color);
    position: relative;
    overflow: visible;
    z-index: 1;
    height: 60px;
    border: 3px solid var(--border-color);
    margin-top: -30px;
    font-size: 1rem;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--color1), var(--color2));
    filter: blur(5px);
    opacity: 0.7;
    z-index: -1;
    transition: opacity 0.3s;
    border-radius: 50px;
}

.social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--glow-color);
}

.social-button:hover::before {
    opacity: 1;
}

.social-button i {
    position: absolute;
    top: -25px;
    font-size: 1rem;
    color: white;
    background: linear-gradient(to right, var(--color1), var(--color2));
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.social-button .button-text {
    margin-top: 20px;
}

@keyframes pulseSocial {
    0% { box-shadow: 0 4px 15px var(--glow-color); }
    50% { box-shadow: 0 4px 25px var(--glow-color); }
    100% { box-shadow: 0 4px 15px var(--glow-color); }
}

.social-button {
    animation: pulseSocial 2s infinite;
}

/* MOBİL UYUMLULUK - ORİJİNAL YAPI KORUNDU */
@media (max-width: 768px) {
    .social-button {
        height: 80px;
        padding: 20px 10px 10px 10px;
        font-size: 0.9rem;
        margin-top: -130px;
    }
    
    .social-button i {
        top: -20px;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .social-button .button-text {
        margin-top: 50px;
        font-size: 0.8rem;
        white-space: normal;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
    .social-column {
    gap: 145px;
}
}

/* Dolar */
#dollar-rain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4000;
    overflow: hidden;
}

.dollar-bill {
    position: absolute;
    width: 70px;
    height: 30px;
    background: linear-gradient(to bottom, #8FBC8F, #228B22, #006400);
    border: 1px solid #006400;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 100, 0, 0.8);
    animation: dollar-fall linear forwards;
    z-index: 4001;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    border-radius: 3px;
    transform-origin: center;
}

.dollar-bill:before {
    content: "$";
    font-size: 24px;
    font-weight: bold;
}

@keyframes dollar-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
        display: none;
    }
}

/* ALT REKLAM KONTEYNIRI */
#bottom-ad-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: transparent;
    overflow: visible;
    animation: slideUp 0.5s ease-out;
}

/* REKLAM SARMAYICI */
.bottom-ad-wrapper {
    position: relative;
    width: 95%;
    max-width: 970px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2a0a0a, #1a1a2e);
    border-radius: 8px;
    border: 2px solid #ffd700;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    cursor: pointer;
}

/* REKLAM GÖRSELİ */
.bottom-ad-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
    background: rgba(0,0,0,0.3);
}

/* KAPATMA DÜĞMESİ - KESİN ÇÖZÜM */
#close-bottom-ad {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffd700;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    transition: all 0.3s;
    z-index: 2010;
    line-height: 1;
    padding: 0;
    margin: 0;
    border: 2px solid #ffc400;
    transform: translate(0, 0) !important;
}

#close-bottom-ad:hover {
    background: #ff0000;
    color: white;
    transform: scale(1.2) rotate(90deg) !important;
}

/* ZORUNLU POZİSYON DÜZELTMESİ */
#bottom-ad-container * {
    transform: none !important;
}

/* RESPONSIVE AYARLAMALAR */
@media (max-width: 970px) {
    .bottom-ad-wrapper {
        height: 80px;
    }
    
    #close-bottom-ad {
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .bottom-ad-wrapper {
        height: 70px;
    }
    
    #close-bottom-ad {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -8px;
        right: -8px;
    }
}

@media (max-width: 480px) {
    .bottom-ad-wrapper {
        height: 60px;
    }
    
    #close-bottom-ad {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: -5px;
        right: -5px;
    }
}