/* Bet Sitesi Ana Sayfa CSS */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --success-color: #00d4aa;
    --warning-color: #ffd700;
    --danger-color: #e94560;
    --info-color: #00bcd4;
    --light-color: #f8f9fa;
    --dark-color: #0f0f23;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #f27121 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.site-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3); }
}

.site-title i {
    color: var(--danger-color);
    text-shadow: 0 0 15px rgba(233, 69, 96, 0.7);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Reklam Alanları - Özel Tasarım */
.ad-section {
    margin: 2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 248, 220, 0.9) 25%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 248, 220, 0.9) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: adGlow 4s ease-in-out infinite;
}

@keyframes adGlow {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.3),
            0 0 60px rgba(255, 215, 0, 0.1),
            inset 0 0 20px rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow:
            0 0 50px rgba(255, 215, 0, 0.5),
            0 0 100px rgba(255, 215, 0, 0.2),
            inset 0 0 30px rgba(255, 255, 255, 0.9);
    }
}

.ad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 70%);
    animation: adShimmer 6s infinite;
    pointer-events: none;
}

@keyframes adShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    animation: adShake 3s ease-in-out infinite;
    box-shadow:
        0 0 25px rgba(255, 215, 0, 0.4),
        0 0 50px rgba(255, 215, 0, 0.2);
}

@keyframes adShake {
    0%, 85%, 100% {
        transform: translateX(0) scale(1);
    }
    2%, 4% {
        transform: translateX(-2px) scale(1.01);
    }
    3%, 5% {
        transform: translateX(2px) scale(1.01);
    }
}

/* Ana İçerik */
.main-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.content-wrapper {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    border: 2px solid var(--success-color);
    border-radius: 25px;
    padding: 3rem;
    box-shadow:
        0 0 50px rgba(0, 212, 170, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
}

.content-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 0 0 70px rgba(255, 215, 0, 0.3);
        transform: scale(1.02);
    }
}

.hero-text {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.hero-button {
    margin-top: 2rem;
}

.btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow:
        0 10px 30px rgba(233, 69, 96, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 40px rgba(233, 69, 96, 0.6),
        0 0 30px rgba(255, 215, 0, 0.5);
    color: white;
    border-color: var(--success-color);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Bet Butonu - Özel Animasyon */
.bet-button {
    animation: betPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.bet-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: betShimmer 3s infinite;
}

@keyframes betPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 10px 30px rgba(233, 69, 96, 0.4),
            0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 15px 40px rgba(233, 69, 96, 0.6),
            0 0 30px rgba(255, 215, 0, 0.5);
    }
}

@keyframes betShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bet-button:hover {
    animation: betShake 0.5s ease-in-out;
}

@keyframes betShake {
    0%, 100% { transform: translateX(0) scale(1.05); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px) scale(1.05); }
    20%, 40%, 60%, 80% { transform: translateX(2px) scale(1.05); }
}

.bet-button i {
    animation: diceRoll 2s ease-in-out infinite;
}

@keyframes diceRoll {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

/* Özellikler - Bet Tarzı */
.features-section {
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 2px solid var(--success-color);
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 0 40px rgba(0, 212, 170, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--warning-color);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow:
        0 0 30px rgba(233, 69, 96, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 0 40px rgba(233, 69, 96, 0.7),
        0 0 60px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

/* Sidebar Banners - Altın Lüks Tasarım */
.sidebar-banner {
    position: sticky;
    top: 2rem;
    margin-bottom: 2rem;
}

.banner-ad {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 248, 220, 0.9) 25%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 248, 220, 0.9) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1rem;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.banner-ad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 70%);
    animation: goldShimmer 3s infinite;
    pointer-events: none;
}

@keyframes goldShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-ad:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
}

.banner-ad img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.banner-ad:hover img {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.05);
}

.banner-placeholder {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 248, 220, 0.8) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    border: 2px dashed rgba(255, 215, 0, 0.6);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.banner-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 70%);
    animation: goldShimmer 4s infinite;
    pointer-events: none;
}

.banner-placeholder i {
    color: rgba(255, 215, 0, 0.8);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.banner-placeholder p {
    color: var(--text-color);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.footer-text {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .content-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .site-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }

    .site-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .content-wrapper {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .ad-section {
        margin: 1rem 0;
        padding: 0.5rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .site-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-section {
    animation: fadeInUp 1s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Print Styles */
@media print {
    .ad-section,
    .sidebar-banner,
    .footer {
        display: none !important;
    }

    .content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .hero-title {
        -webkit-text-fill-color: initial;
        color: var(--text-color);
    }
}
