:root {
    --bg-color: #1a1b1e;
    --card-bg: #25262b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #ff7f00;
    --accent-hover: #e67300;
    --border-color: #2f3036;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Christmas Snow Effect */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -30px;
    color: #fff;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    animation: fall linear infinite;
    user-select: none;
    will-change: transform;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    100% {
        transform: translateY(110vh) translateX(20px) rotate(360deg);
    }
}

/* Header */
.main-header {
    background-color: #111;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header h1 {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 700;
}

main {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.section-title h2 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.star-icon {
    font-size: 1.2rem;
}

/* Featured Slider */
.featured-slider {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding-bottom: 0.5rem;
}

.featured-card {
    flex: 1;
    min-width: 0;
    height: 220px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
}

.featured-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.bonus-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 0.6rem 0.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: auto;
    margin-bottom: 0.5rem;
    width: 96%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
}

/* Sites List */
.sites-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.site-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-logo-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.site-info {
    flex: 1;
    min-width: 0;
}

.site-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
}

.site-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.bonus-amount {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.4rem;
    text-shadow: 0 0 20px rgba(255, 127, 0, 0.3);
}

.btn-bonus {
    background: linear-gradient(135deg, #ff7f00, #ff5500);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-bonus:hover {
    background: linear-gradient(135deg, #ff9933, #ff6600);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.5);
}

/* Desktop */
@media (min-width: 1025px) {
    main {
        max-width: 1000px;
        /* Genişliği artırdım */
    }

    .site-card {
        padding: 1.5rem;
        grid-template-columns: 1fr auto;
        /* Grid yapısını koru */
        gap: 2rem;
    }

    /* Desktop Logo Ayarı */
    .site-title-logo {
        height: 45px !important;
        /* Desktopta biraz daha büyük */
        max-width: 180px !important;
        margin-bottom: 0.5rem !important;
    }

    .site-info p {
        font-size: 0.95rem;
        max-width: 600px;
        /* Metin çok uzamasın */
    }

    .bonus-amount {
        font-size: 1.8rem;
    }

    .btn-bonus {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Footer */
.main-footer {
    margin-top: 2rem;
    padding: 1.5rem 1rem 2rem;
    background: transparent;
}

.footer-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0088cc;
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

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

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* MOBILE RESPONSIVE - TÜM MOBİL VE TABLET CİHAZLAR */
@media (max-width: 1024px) {
    main {
        padding: 0.4rem !important;
    }

    /* Header Compact */
    .main-header {
        padding: 0.5rem 0.75rem !important;
    }

    .main-header h1 {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }

    /* Featured Section - SADECE MOBİLDE GİZLE */
    @media (max-width: 768px) {
        .featured-section {
            display: none !important;
        }
    }

    /* Tablet ve üzeri için görünür kalsın */
    .featured-section {
        margin-bottom: 1rem !important;
    }

    .section-title {
        margin-bottom: 0.25rem !important;
        margin-top: 0.25rem !important;
        gap: 0.3rem !important;
    }

    .section-title h2 {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }

    .star-icon {
        font-size: 0.85rem !important;
    }

    .featured-slider {
        flex-direction: column !important;
        gap: 0.3rem !important;
    }

    /* Featured Section - PREMIUM MINIMALIST (KUTU YOK) */
    .featured-section {
        margin-bottom: 1rem !important;
    }

    .featured-card {
        width: 100% !important;
        height: auto !important;
        min-height: 130px !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        /* Çok ince ayırıcı */
        margin: 0 !important;
    }

    /* Son kartın alt çizgisini kaldır */
    .featured-card:last-child {
        border-bottom: none !important;
    }

    /* Renkli arka planı gizle */
    .card-bg {
        display: none !important;
    }

    .card-content {
        padding: 1.2rem 0 !important;
        /* Sadece dikey boşluk */
        justify-content: center !important;
        align-items: center !important;
        gap: 0.8rem !important;
        background: transparent !important;
    }

    .featured-logo {
        width: clamp(110px, 25vw, 140px) !important;
        /* Logo biraz daha büyük ve serbest */
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1)) !important;
        /* Hafif glow */
    }

    .bonus-badge {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.5rem !important;
        width: auto !important;
        /* Tam genişlik yerine buton gibi */
        min-width: 60% !important;
        border-radius: 50px !important;
        /* Tam yuvarlak modern buton */
        margin: 0 !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        background: linear-gradient(to right, #ffffff, #f0f0f0) !important;
        color: #000 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        /* Buton gölgesi */
    }

    /* EKSTRA GÜÇLÜ OVERRIDE */
    .featured-section .featured-slider .featured-card .card-content .bonus-badge {
        margin-bottom: 0 !important;
        padding-bottom: 0.7rem !important;
    }

    .featured-section .featured-slider .featured-card .card-content {
        padding-bottom: 1.2rem !important;
    }

    /* Site Cards - MODERN LOGO TASARIM */
    .all-sites-section {
        margin-top: 1rem !important;
    }

    .sites-list {
        gap: 0.8rem !important;
    }

    .site-card {
        padding: 1rem !important;
        gap: 0.8rem !important;
        border-radius: 16px !important;
        border: 1px solid var(--border-color) !important;
        background: var(--card-bg) !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
    }

    .site-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        align-items: flex-start !important;
    }

    /* Yeni Büyük Logo */
    .site-title-logo {
        height: 35px !important;
        /* İdeal yükseklik */
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
        object-position: left center !important;
        margin-bottom: 0.2rem !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    }

    .site-info p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        color: #c0c0c0 !important;
        font-weight: 400 !important;
        margin: 0 !important;
    }

    .site-action {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0.4rem !important;
    }

    .bonus-amount {
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        text-shadow: 0 0 25px rgba(255, 127, 0, 0.5) !important;
        letter-spacing: 0.5px !important;
    }

    .btn-bonus {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        box-shadow: 0 5px 18px rgba(255, 127, 0, 0.35) !important;
    }

    .btn-bonus:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 7px 25px rgba(255, 127, 0, 0.5) !important;
    }

    /* Footer Compact */
    .main-footer {
        margin-top: 1.5rem !important;
        padding: 1rem 1rem 1.5rem !important;
    }

    .footer-container {
        padding: 1.25rem 1rem !important;
        border-radius: 12px !important;
    }

    .footer-content h3 {
        font-size: 1.1rem !important;
    }

    .footer-content p {
        font-size: 0.8rem !important;
    }

    .telegram-btn {
        padding: 0.6rem 1.15rem !important;
        font-size: 0.9rem !important;
    }

    .btn-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Very Small Screens - EKSTRA KÜÇÜK */
@media (max-width: 400px) {
    .main-header h1 {
        font-size: 0.9rem !important;
    }

    .featured-card {
        height: 80px !important;
    }

    .featured-logo {
        width: 50px !important;
    }

    .bonus-badge {
        font-size: 0.5rem !important;
    }

    .site-card {
        padding: 0.65rem !important;
    }

    .site-logo-wrapper {
        width: 48px !important;
        height: 48px !important;
    }

    .site-info h3 {
        font-size: 0.82rem !important;
    }

    .site-info p {
        font-size: 0.64rem !important;
    }

    .bonus-amount {
        font-size: 1rem !important;
    }

    .btn-bonus {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.7rem !important;
    }

    .footer-content h3 {
        font-size: 1rem !important;
    }

    .footer-content p {
        font-size: 0.75rem !important;
    }
}