/**
 * Homepage Styles - İddiatahminleri.com
 * Updated for the modern teal + amber theme
 */

/* ===================================
   CSS Variables - Color Theme
   =================================== */
:root {
    --accent: #0ea5a8;
    --accent-strong: #0d9096;
    --primary: #06b6d4;
    --primary-strong: #0891b2;
    --stroke: rgba(255, 255, 255, 0.15);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(120deg, #0b1f2a 0%, #0f2e3c 55%, #123b4a 100%);
    color: #f8fafc;
    padding: 100px 0 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: -20% 0 0 0;
    background:
        radial-gradient(60% 60% at 15% 20%, rgba(14, 165, 168, 0.35), transparent 60%),
        radial-gradient(45% 45% at 80% 0%, rgba(245, 158, 11, 0.35), transparent 70%);
    opacity: 0.9;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Ccircle cx='16' cy='18' r='2' fill='rgba(255,255,255,0.25)'/%3E%3Ccircle cx='120' cy='48' r='3' fill='rgba(255,255,255,0.18)'/%3E%3Ccircle cx='80' cy='120' r='2' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
    opacity: 0.35;
    mix-blend-mode: screen;
}

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

.hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: heroIn 0.8s ease both;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--accent) 0%, #ffd166 35%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
    animation: heroIn 0.8s ease both;
    animation-delay: 0.1s;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: heroIn 0.8s ease both;
    animation-delay: 0.2s;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge i { color: var(--accent); }

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: heroIn 0.8s ease both;
    animation-delay: 0.3s;
}

/* ===================================
   Hero Buttons
   =================================== */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #1f2933;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.45);
    color: #1f2933;
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(14, 165, 168, 0.2);
    border-color: rgba(14, 165, 168, 0.7);
    color: #fff;
}

/* ===================================
   Hero Image & Floating Cards
   =================================== */
.hero-image-wrapper {
    position: relative;
    animation: heroIn 0.8s ease both;
    animation-delay: 0.4s;
}

.hero-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    max-width: 100%;
    height: auto;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15,35,45,0.08);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-floating-card.card-1 { top: 10%; left: -20px; animation-delay: 0s; }
.hero-floating-card.card-2 { bottom: 20%; right: -20px; animation-delay: 1s; }
.hero-floating-card.card-3 { bottom: -10px; left: 20%; animation-delay: 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-floating-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.hero-floating-card .card-content h6 {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.hero-floating-card .card-content span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

/* ===================================
   Live Stats Bar
   =================================== */
.live-stats-bar {
    background: var(--surface-glass);
    padding: 1rem 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.live-stat-item {
    text-align: center;
    color: var(--ink);
    padding: 0.5rem;
}

.live-stat-item .number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    font-family: var(--font-display);
}

.live-stat-item .label {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #1f2933;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--ink-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Live Widgets Section
   =================================== */
.live-widgets-section {
    background: linear-gradient(135deg, #0b1f2a 0%, #123b4a 100%);
    color: #f8fafc;
}

.live-widgets-section .section-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.live-widgets-section .section-title { color: #f8fafc; }
.live-widgets-section .section-subtitle { color: rgba(255,255,255,0.7); }

/* ===================================
   Featured Predictions Section
   =================================== */
.featured-predictions {
    background: var(--surface-soft);
    padding: 5rem 0;
}

/* ===================================
   Live Statistics Cards
   =================================== */
.live-stat-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--stroke);
    text-align: center;
}

.live-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(14, 165, 168, 0.4);
}

.live-stat-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.live-stat-card h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.live-stat-card small {
    color: var(--ink-muted);
    font-weight: 500;
}

/* ===================================
   Prediction Card Enhanced
   =================================== */
.prediction-card {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--stroke);
    background: #fff;
    transition: all 0.35s ease;
    overflow: hidden;
    height: 100%;
}

.prediction-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.prediction-card .card-header {
    background: linear-gradient(120deg, #0f2a34 0%, #0f2e3c 40%, #103a4a 100%);
    color: #fff;
    padding: 1.25rem;
    border: none;
}

.prediction-card .card-header h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.prediction-card .card-body { padding: 1.5rem; }

.prediction-highlight {
    background: linear-gradient(135deg, rgba(14, 165, 168, 0.12), rgba(245, 158, 11, 0.16));
    border-radius: 12px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid rgba(14, 165, 168, 0.2);
}

.prediction-highlight .badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 8px;
}

.prediction-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--stroke);
    padding: 1rem 1.5rem;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: 5rem 0;
    background: #fff;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2933;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--stroke));
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(14, 165, 168, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.step-card p {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* ===================================
   Blog Section
   =================================== */
.blog-section {
    padding: 5rem 0;
    background: var(--surface-soft);
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--stroke);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, #0b1f2a 0%, #0ea5a8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.blog-card-body { padding: 1.5rem; }

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #1f2933;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-card h5 {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.blog-card p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta {
    color: var(--ink-muted);
    font-size: 0.85rem;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 5rem 0;
    background: #fff;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--stroke);
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--ink);
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(14, 165, 168, 0.12);
    color: var(--primary);
}

.faq-accordion .accordion-button::after { background-size: 1rem; }

.faq-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(120deg, #0b1f2a 0%, #123b4a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 2; }

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===================================
   Statistics Section
   =================================== */
.statistics-section {
    background: var(--surface-soft);
    padding: 5rem 0;
}

.stat-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--stroke);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(14, 165, 168, 0.4);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-item p {
    color: var(--ink-muted);
    font-weight: 600;
    margin: 0;
}

/* ===================================
   Testimonials
   =================================== */
.testimonials-section {
    padding: 5rem 0;
    background: #fff;
}

.testimonial-card {
    background: var(--surface-soft);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid var(--stroke);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #44515a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--ink);
}

.testimonial-rating {
    color: var(--accent);
    margin-top: 0.5rem;
}

/* ===================================
   Dark Mode Adjustments
   =================================== */
.dark-mode .section-title,
.dark-mode .step-card h5,
.dark-mode .blog-card h5 {
    color: #fff;
}

.dark-mode .section-subtitle,
.dark-mode .step-card p,
.dark-mode .blog-card p {
    color: #b3b3b3;
}

.dark-mode .live-stat-card,
.dark-mode .prediction-card,
.dark-mode .blog-card,
.dark-mode .stat-item,
.dark-mode .testimonial-card {
    background: #111922;
    border-color: #1f2a32;
}

.dark-mode .featured-predictions,
.dark-mode .blog-section,
.dark-mode .statistics-section {
    background: #0c1218;
}

.dark-mode .how-it-works,
.dark-mode .faq-section,
.dark-mode .testimonials-section {
    background: #101820;
}

.dark-mode .faq-accordion .accordion-button {
    background: #0f1720;
    color: #fff;
}

.dark-mode .faq-accordion .accordion-button:not(.collapsed) {
    background: #13212b;
}

.dark-mode .faq-accordion .accordion-body {
    background: #0f1720;
}

.dark-mode .live-stats-bar {
    background: rgba(15, 23, 32, 0.9);
    border-color: #1f2a32;
}

.dark-mode .live-stat-item {
    color: #f8fafc;
}

.dark-mode .live-stat-item .label {
    color: #94a3b8;
}

.dark-mode .prediction-card .card-footer {
    border-color: #1f2a32;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .hero-floating-card { display: none; }
    .step-card:not(:last-child)::after { display: none; }
}

@media (max-width: 576px) {
    .hero-section { padding: 80px 0 60px 0; min-height: auto; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .hero-badges { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    .btn-hero-primary, .btn-hero-secondary { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
