/* Renk değişkenleri */
:root {
    --primary-color: #00ffff;
    --secondary-color: #ff4757;
    --bg-dark: #141b24;
    --bg-darker: #1c2632;
    --bg-light: #2a3543;
    --bg-lighter: #3a4553;
    --gradient: linear-gradient(45deg, #00ffff, #00cccc);
}

/* Genel stiller */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 42, 61, 0.5);
    z-index: 1;
}

.background-link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    cursor: pointer;
}

/* Header stili */
.site-header {
    background: var(--bg-darker);
    padding: 12px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
    border-radius: 0 0 40px 40px;
    position: relative;
    z-index: 2;
}

.site-header .navbar {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
}

.site-header .navbar-nav {
    margin-left: auto;
    gap: 15px;
    display: flex;
    align-items: center;
}

.site-header .nav-link {
    color: #fff;
    padding: 8px 20px;
    font-size: 16px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.site-header .nav-link i {
    margin-right: 8px;
}

.site-header .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-header .nav-link:hover:after {
    width: 80%;
}

.site-header .nav-link:hover {
    background: var(--bg-light);
    border-radius: 5px;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Ana container stili */
.container-fluid {
    padding: 0 10px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Kanal listesi stili */
.kanal-listesi {
    background: var(--bg-darker);
    padding: 15px;
    border-radius: 10px;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.baslik {
    color: var(--primary-color);
    font-size: 18px;
    padding: 8px 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: center;
}

/* Kanal arama stili */
.kanal-arama {
    background: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    color: #fff;
    padding: 10px 15px;
    padding-left: 40px;
    border-radius: 6px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.kanal-arama:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Arama ikonu stili */
.kanal-arama-icon {
    position: absolute;
    left: 15px;
    top: 40%;
    transform: translateY(-50%);
    color: #fff; /* İkon rengi beyaz */
    pointer-events: none; /* İkon tıklanamaz hale getirildi */
}

.kanal-listesi .nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.kanal-listesi .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 4px 0;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kanal-listesi .nav-link:before {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    margin-right: 10px;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 13px;
}

.kanal-listesi .nav-link:hover,
.kanal-listesi .nav-link.active {
    background: var(--bg-lighter);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
}

.kanal-listesi .nav-link:hover {
    transform: translateX(5px);
}

/* Player container stili */
.player-container {
    background: var(--bg-darker);
    padding: 15px;
    border-radius: 10px;
    height: 370px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 60px auto 0;
    max-width: 800px;
}

.player-warning {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    color: #fff;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    z-index: 1;
    height: 40px;
    line-height: 1.2;
    justify-content: center;
}

.player-warning.top {
    top: -65px;
    left: 0;
    right: 0;
    margin-top: 20px;
}

.player-warning.bottom {
    bottom: -45px;
    left: 0;
    right: 0;
}

.player-warning i {
    color: #00ffff;
    font-size: 15px;
    display: flex;
    align-items: center;
}

#yaramiye {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

/* Bahis siteleri stili */
.bahis-siteleri {
    background: var(--bg-darker);
    padding: 15px;
    border-radius: 10px;
    height: 500px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
    width: 100%;
}

.bahis-item {
    background: var(--bg-light);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bahis-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
}

.bahis-item img {
    height: 25px;
    object-fit: contain;
    margin-right: 10px;
}

.bahis-item .site-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.bahis-item .btn {
    margin-left: auto;
    padding: 5px 15px;
    font-size: 13px;
    border-radius: 4px;
    background: var(--secondary-color);
    border: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.bahis-item .btn:hover {
    background: #ff3547;
    transform: scale(1.05);
}

/* Scrollbar stilleri */
.kanal-listesi::-webkit-scrollbar {
    width: 4px;
}

.kanal-listesi::-webkit-scrollbar-track {
    background: #1c2632;
}

.kanal-listesi::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.kanal-listesi::-webkit-scrollbar-thumb:hover {
    background: #00cccc;
    cursor: pointer;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .kanal-listesi,
    .player-container,
    .bahis-siteleri {
        height: auto;
        min-height: 300px;
        margin-bottom: 15px;
    }
    
    .player-container {
        margin-top: 30px !important;
        position: relative;
        margin-bottom: 60px !important;
    }

    .player-warning {
        position: absolute;
        top: -60px;
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
        font-size: 14px;
        z-index: 10;
    }
    
    .site-header .nav-link {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .kanal-listesi {
        margin-top: 0px !important;
    }
}

/* Grid düzeni için özel sınıflar */
.container-fluid .row > .col-md-2 {
    -ms-flex: 0 0 28%;
    flex: 0 0 28%;
    max-width: 28%;
    width: 28%;
}

.container-fluid .row > .col-md-7 {
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    max-width: 42%;
    width: 42%;
}

.container-fluid .row > .col-md-3 {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    width: 30%;
}

/* Banner stilleri - Daha spesifik seçicilerle */
.content-wrapper .banner-container {
    margin: 8px auto;
    width: 100%;
    max-width: 1600px;
    padding: 0 10px;
    box-sizing: border-box;
}

.content-wrapper .banner-container .row {
    margin: 0 -4px;
    width: 100%;
}

.content-wrapper .banner-container .col-md-4 {
    padding: 0 4px;
}

.content-wrapper .reklam-banner {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-wrapper .reklam-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.content-wrapper .reklam-banner img {
    width: 100%;
    height: 60px !important;
    object-fit: cover;
    display: block;
}

.content-wrapper .reklam-banner a {
    display: block;
    height: 100%;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .content-wrapper .reklam-banner {
        max-height: 50px !important;
    }
    
    .content-wrapper .reklam-banner img {
        height: 50px !important;
    }
    
    .content-wrapper .banner-container .col-md-4 {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Masaüstünde banner'ları yan yana göster */
@media (min-width: 769px) {
    .content-wrapper .banner-container .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Navbar için responsive düzenleme */
@media (max-width: 991px) {
    .navbar-collapse {
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* Responsive düzenlemeler */
@media (max-width: 1200px) {
    .container-fluid .row > .col-md-2 {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .container-fluid .row > .col-md-7 {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .container-fluid .row > .col-md-3 {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 8px;
    }
    
    .content-wrapper .banner-container {
        padding: 0 8px;
    }
}

/* Container düzeni */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobil düzen için medya sorguları */
@media (max-width: 768px) {
    /* Content wrapper düzeni */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    /* Sıralama için yeni düzen */
    .content-wrapper > * {
        width: 100%;
    }

    /* Banner container'ı en üstte */
    .content-wrapper .banner-container.top-banners {
        order: 1;
        margin-bottom: 30px !important;
    }

    /* Ana içerik container'ı */
    .container-fluid {
        order: 2;
        padding: 0 8px;
    }

    /* Video player ikinci sırada */
    .container-fluid .row .col-md-7 {
        order: 1;
        margin-bottom: 15px;
    }

    /* Kanal listesi üçüncü sırada */
    .container-fluid .row .col-md-2 {
        order: 2;
        margin-bottom: 15px;
    }

    /* Alt banner'lar dördüncü sırada */
    .content-wrapper .banner-container.bottom-banners {
        order: 3;
        margin-bottom: 15px;
    }

    /* Bahis siteleri beşinci sırada */
    .container-fluid .row .col-md-3 {
        order: 4;
    }

    /* SEO bölümü en sonda */
    .seo-section {
        order: 5;
        margin-top: 30px;
        padding: 15px;
    }

    /* SEO bölümü font boyutları */
    .seo-section h2 {
        font-size: 16px;
    }

    .seo-section p {
        font-size: 13px;
    }

    .seo-section h3 {
        font-size: 15px;
    }

    .seo-section .feature-item {
        font-size: 13px;
    }

    /* Mobil boyutlar */
    .player-container {
        height: 250px;
        margin-top: 30px !important;
    }

    .kanal-listesi {
        height: 350px;
    }

    .bahis-siteleri {
        height: auto;
        min-height: 200px;
    }

    /* Grid sistemi düzeltmeleri */
    .container-fluid .row > [class*="col-"] {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    /* Banner ayarları */
    .content-wrapper .banner-container {
        margin: 8px 0;
    }

    .content-wrapper .banner-container .col-md-4 {
        width: 100%;
        margin-bottom: 8px;
    }

    .content-wrapper .reklam-banner {
        max-height: 50px !important;
    }

    .content-wrapper .reklam-banner img {
        height: 50px !important;
    }
}

/* Container padding düzeltmeleri */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 8px;
    }
    
    .content-wrapper .banner-container {
        padding: 0 8px;
    }

    /* Navbar düzenlemesi */
    .navbar-collapse {
        background: #1c2632;
        padding: 10px;
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
}

/* Masaüstünde banner'ları yan yana göster */
@media (min-width: 769px) {
    .banner-container .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Genel scroll önleme */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Kolon padding düzeltme */
[class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
    box-sizing: border-box;
}

/* Bahis siteleri başlığı stili */
.bahis-siteleri .baslik {
    color: var(--primary-color);
    font-size: 18px;
    padding: 8px 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: center;
}

.main-container {
    position: relative;
    z-index: 2;
}

.bg-dark {
    background: url('../img/arkaplan.jpeg') no-repeat center center fixed !important;
    background-size: cover !important;
    position: relative;
}

.bg-dark::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 27, 36, 0.5);
    z-index: 1;
}

.clickable-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.site-header, 
.player-container,
.main-content {
    position: relative;
    z-index: 2;
}

.bg-link {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/arkaplan.jpeg') no-repeat center center fixed;
    background-size: cover;
    z-index: 0;
    cursor: pointer;
}

.bg-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 27, 36, 0.5);
}

.site-header, .player-container {
    position: relative;
    z-index: 1;
}

#clickable-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/arkaplan.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 27, 36, 0.5);
    z-index: -1;
}

.site-content {
    position: relative;
    z-index: 1;
}

.seo-section {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 10px;
    margin: 25px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
    color: #fff;
    max-width: 1500px;
    width: 100%;
}

.seo-section h2 {
    color: var(--primary-color);
    font-size: 18px;
    padding: 6px 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: center;
}

.seo-section p {
    color: #fff;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

.seo-section h3 {
    color: #ff3366;
    font-size: 17px;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.seo-section .features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-section .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.seo-section .feature-item i {
    color: var(--primary-color);
    font-size: 13px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(20, 27, 36, 0.98);
    border-bottom: 1px solid #00ffff;
    z-index: 9999;
    padding: 60px 0 0;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ffff;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    display: flex;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    width: 100%;
    padding: 15px 20px;
    flex: 1;
}

.mobile-menu a:hover {
    color: #00ffff;
    background: rgba(255,255,255,0.05);
}

.mobile-menu i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    display: none;
    z-index: 10000;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

.banner-container.bottom-banners {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .banner-container.bottom-banners {
        margin-top: 15px;
    }
}

.banner-container.top-banners {
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .banner-container.top-banners,
    .content-wrapper .banner-container.top-banners,
    .top-banners {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    
    .player-container {
        margin-top: 50px !important;
    }
}

.site-footer {
    background: var(--bg-darker);
    padding: 15px 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.site-footer .copyright {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.site-footer .copyright a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .copyright a:hover {
    color: #00cccc;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 20px;
        padding: 12px 0;
    }
    
    .site-footer .copyright {
        font-size: 12px;
    }
}

.player-banner {
    position: absolute;
    bottom: -110px;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    margin-top: 20px;
}

.player-banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.player-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .player-banner {
        bottom: -100px;
        height: 50px;
    }
}

.poster-icon {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
}

.poster-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.poster-icon:after {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: #00ffff;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.poster-icon:hover:after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .top-banners {
        margin-bottom: 40px;
    }
    .player-container {
        margin-top: 40px;
    }
}

/* Player Hata ve Yükleme Stilleri */
.player-error,
.player-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 27, 36, 0.95);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.player-error i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.player-error p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.player-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

.player-loading p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 