/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Icon Styles
   =========================== */
.icon-gift {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--accent-color);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.image-placeholder svg {
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.content-card:hover .image-placeholder svg {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.5));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Welcome Overlay
   =========================== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    padding: 40px;
}

.logo-animation h1 {
    font-size: 3.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.8)); }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gradient-1);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.overlay-subtitle {
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ===========================
   Premium Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: rotate(90deg);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body {
    text-align: center;
}

.ad-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(99, 102, 241, 0.3);
}

.ad-placeholder {
    text-align: center;
}

.ad-placeholder h3 {
    font-size: 1.8rem;
    margin: 15px 0;
    color: var(--accent-color);
}

.modal-footer-text {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 0.8s ease;
}

@keyframes slideInDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease 0.2s backwards;
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-ad {
    margin-top: 40px;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary,
.btn-hero,
.btn-card,
.btn-opportunity {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-hero {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-hero:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-card,
.btn-opportunity {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-card:hover,
.btn-opportunity:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===========================
   Sections
   =========================== */
.featured,
.opportunities,
.newsletter {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Content Grid
   =========================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.5);
}

.card-image {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 4rem;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* ===========================
   Opportunities Grid
   =========================== */
.opportunities {
    background: rgba(30, 41, 59, 0.5);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.opportunity-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.opportunity-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.opportunity-card.highlight {
    background: var(--gradient-1);
    border-color: transparent;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.discount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
}

.opportunity-card.highlight .discount {
    color: white;
}

/* ===========================
   Ad Sections
   =========================== */
.ad-section {
    padding: 40px 0;
    background: rgba(15, 23, 42, 0.5);
}

.ad-banner {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(99, 102, 241, 0.2);
}

.large-ad {
    min-height: 250px;
}

.ad-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* ===========================
   Sidebar Ads
   =========================== */
.sidebar-ads {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 100;
    transition: all 0.3s ease;
}

.sidebar-ads.hidden {
    right: -200px;
    opacity: 0;
    pointer-events: none;
}

.sidebar-ad {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 600px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.sidebar-ad-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.sidebar-ad-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: scale(1.1);
}

/* ===========================
   Newsletter
   =========================== */
.newsletter {
    background: var(--gradient-1);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* ===========================
   Bottom Ad Bar
   =========================== */
.bottom-ad-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);    transition: all 0.3s ease;
}

.bottom-ad-bar.hidden {
    bottom: -200px;
    opacity: 0;
    pointer-events: none;
}

.bottom-ad-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.bottom-ad-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: scale(1.1);}

.bottom-ad {
    min-height: 90px;
    margin: 0;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        gap: 10px;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 8px 12px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Logo Animation */
    .logo-animation h1 {
        font-size: 2rem;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        margin: 20px;
        max-width: 90%;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }

    /* Mobilde sidebar reklamları gizle */
    .sidebar-ads {
        display: none !important;
    }
    
    /* Bottom ad mobilde daha küçük */
    .bottom-ad-bar {
        padding: 5px 0;
    }
    
    .bottom-ad {
        min-height: 60px;
    }

    /* Grid Layouts */
    .content-grid,
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Section Title */
    .section-title {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Daha küçük ekranlar için */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-hero {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}
        width: 100%;
    }
}

/* ===========================
   Animations & Effects
   =========================== */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-in {
    animation: slideInUp 0.6s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}
