/* Main Styles - assets/css/main.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    color: #fff;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 220px;
    padding: 80px 20px 20px 20px;
    position: relative;
}

/* Slider Section Update - Banner System */
.slider-section {
    background: rgba(26, 35, 50, 0.8);
    border: 3px solid #ff6b35;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    margin: 0 40px 15px 40px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 29.6%;
    /* 3375x1000 banner oranı için optimize edildi */
    overflow: hidden;
    min-height: 200px;
    max-height: 280px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a2332;
    display: block;
    text-decoration: none;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 35, 50, 0.7), rgba(255, 107, 53, 0.3));
    z-index: 1;
    opacity: 0;
    /* Yazı olmadığı için overlay'i kaldırıyoruz */
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    color: white;
    z-index: 2;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-description {
    font-size: 0.85rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.banner-indicator.active {
    background: #ff6b35;
    transform: scale(1.3);
    border-color: #ff6b35;
}

.banner-nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.banner-nav-btn {
    background: rgba(255, 107, 53, 0.8);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.banner-nav-btn:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.banner-nav-prev {
    left: 10px;
}

.banner-nav-next {
    right: 10px;
}

.default-banner-bg {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 40px 20px 40px;
    padding: 0;
}

.feature-card {
    background: rgba(26, 35, 50, 0.9);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    aspect-ratio: 373/468;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    text-decoration: none;
    transform: scale(0.85);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.feature-card.popcorn::before {
    background-image: url('../../Rixino - UI/direct-image/film-izle.png');
}

.feature-card.ball::before {
    background-image: url('../../Rixino - UI/direct-image/canli-mac.png');
}

.feature-card.scoreboard::before {
    background-image: url('../../Rixino - UI/direct-image/canli-skor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card.fans::before {
    background-image: url('../../Rixino - UI/direct-image/rixinofans.png');
}

.feature-card.girls::before {
    background-image: url('../../Rixino - UI/direct-image/rixino-girls.png');
}

.feature-icon {
    display: none;
}

.feature-title {
    display: none;
}

.social-section {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.social-title {
    color: #ff6b35;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    border-radius: 2px;
}

/* Kayar Social Media Slider */
.social-slider-container {
    position: relative;
    overflow: hidden;
    width: clamp(300px, 85vw, 1400px);
    max-width: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: clamp(8px, 2vw, 15px) 0;
    margin: 0 auto;
}

.social-slider {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(clamp(260px, 20vw, 280px) * 26);
    /* 26 item (13×2) × responsive genişlik */
}

.social-slider:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * clamp(260px, 20vw, 280px) * 13));
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    padding: clamp(10px, 2vw, 16px) clamp(12px, 3vw, 20px);
    border-radius: clamp(8px, 1.5vw, 12px);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
    margin-right: clamp(10px, 2vw, 18px);
    min-width: clamp(240px, 18vw, 270px);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 140, 66, 0.2) 100%);
}

.social-link img {
    width: clamp(20px, 3vw, 26px);
    height: clamp(20px, 3vw, 26px);
    margin-right: clamp(8px, 2vw, 14px);
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
    filter: brightness(1.4);
}

.social-link span {
    font-size: clamp(12px, 2.2vw, 15px);
    font-weight: 500;
    color: #e2e8f0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.social-link:hover span {
    color: #ff6b35;
}

/* FAQ Section Styles */
.faq-section {
    margin: 30px 20px;
    padding: 30px;
    background: rgba(26, 35, 50, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.faq-title {
    color: #ff6b35;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: rgba(45, 55, 72, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.faq-item.active {
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    color: #ff6b35;
    font-size: 18px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(26, 35, 50, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: #bfc9d1;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .banner-slider {
        min-height: 180px;
        max-height: 240px;
        padding-bottom: 32%;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin: 0 20px 20px 20px;
    }

    .slider-section {
        margin: 0 20px 15px 20px;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin: 0 15px 20px 15px;
    }
}

@media (max-width: 768px) {
    .social-slider {
        animation-duration: 25s;
    }

    .social-slider-container {
        width: clamp(250px, 88vw, 500px);
        padding: clamp(6px, 1.5vw, 12px) 0;
    }

    .main-content {
        margin-left: 0;
        padding: 60px 15px 280px 15px;
        /* Auth butonları için üst boşluk ve mobil nav için alt boşluk */
    }

    .slider-section {
        border-radius: 15px;
        margin: 10px auto;
        max-width: 340px;
        width: fit-content;
    }

    .banner-slider {
        min-height: 300px;
        max-height: 300px;
        height: 300px;
        padding-bottom: 0;
        width: 300px;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 15px;
        overflow: hidden;
    }

    .banner-slide {
        background-size: cover;
        background-position: center;
        background-color: #1a2332;
    }

    /* Mobile Banner Override */
    .banner-slide:nth-child(1) {
        background-image: url('../../Rixino - UI/banner1.png') !important;
    }

    .banner-slide:nth-child(2) {
        background-image: url('../../Rixino - UI/banner2.png') !important;
    }

    .banner-slide:nth-child(3) {
        background-image: url('../../Rixino - UI/banner3.png') !important;
    }

    .banner-slide:nth-child(4) {
        background-image: url('../../Rixino - UI/banner5.png') !important;
    }

    .banner-slide:nth-child(5) {
        background-image: url('../../Rixino - UI/banner6.png') !important;
    }

    .banner-nav-btn {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }

    .banner-nav-prev {
        left: 8px;
    }

    .banner-nav-next {
        right: 8px;
    }

    .banner-indicators {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .banner-indicator {
        width: 8px;
        height: 8px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 5px;
        margin: 0 10px 20px 10px;
    }

    /* Mobile Responsive for Social Links */
    .social-section {
        margin: 20px 15px;
        padding: 25px 20px;
    }

    .social-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .faq-section {
        margin: 20px 10px;
        padding: 20px 15px;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h4 {
        font-size: 15px;
    }

    .faq-answer p {
        padding: 15px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .social-slider {
        animation-duration: 20s;
    }

    .social-slider-container {
        width: clamp(220px, 92vw, 350px);
        padding: clamp(4px, 1vw, 10px) 0;
    }

    .slider-section {
        margin: 5px auto;
        max-width: 320px;
    }

    .banner-slider {
        min-height: 280px;
        max-height: 280px;
        height: 280px;
        width: 280px;
        max-width: 280px;
        padding-bottom: 0;
    }

    .banner-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .banner-nav-prev {
        left: 8px;
    }

    .banner-nav-next {
        right: 8px;
    }

    .banner-indicators {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }

    .banner-indicator {
        width: 6px;
        height: 6px;
    }

    .social-section {
        margin: 15px 10px;
        padding: 20px 15px;
    }

    .social-title {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin: 0 8px 20px 8px;
    }
}

@media (max-width: 360px) {
    .slider-section {
        margin: 5px auto;
        max-width: 290px;
    }

    .banner-slider {
        min-height: 250px;
        max-height: 250px;
        height: 250px;
        width: 250px;
        max-width: 250px;
        padding-bottom: 0;
    }

    .banner-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .banner-nav-prev {
        left: 5px;
    }

    .banner-nav-next {
        right: 5px;
    }
}