/* ============================================
   ONEOBET - SEO OPTIMIZED RESPONSIVE CSS
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a2e;
    --border-color: #2a2a3e;
    --hover-color: #0f3460;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    background-image: url('../img/general/bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--gold-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffed4e;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 140px;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-color);
    background: rgba(255, 215, 0, 0.1);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    transition: var(--transition);
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-primary);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-login img {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.hero-prev,
.hero-next {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hero-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicators span.active {
    background: var(--gold-color);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: 60vh;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gold-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--gold-color);
    font-weight: 600;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-color);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.article-card h3 a {
    color: var(--text-primary);
}

.article-card h3 a:hover {
    color: var(--gold-color);
    text-decoration: none;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-read-more {
    color: var(--gold-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-color);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

.category-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 1rem;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-color);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links img {
    width: 32px;
    height: 32px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.disclaimer {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Featured Section */
.featured-section {
    margin-bottom: 4rem;
}

/* Latest Section */
.latest-section {
    margin-bottom: 4rem;
}

/* Games Section */
.games-section {
    margin-bottom: 4rem;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .container {
        padding: 0 16px;
    }
    
    /* Header Mobile */
    .header {
        padding: 0;
        z-index: 1000;
    }
    
    .header-content {
        flex-wrap: nowrap;
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .logo {
        flex-shrink: 0;
        order: 1;
    }
    
    .logo img {
        height: 36px;
        max-width: 120px;
    }
    
    .main-nav {
        display: none;
        position: relative;
        flex: 0 0 auto;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
        order: 3;
        position: relative;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 1.5rem 2rem;
        box-shadow: none;
        border: none;
        z-index: 9999;
        overflow-y: auto;
        gap: 0;
        margin: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
        min-height: 44px;
        width: 100%;
        border-radius: 0;
    }
    
    .header-actions {
        flex-shrink: 0;
        width: auto;
        margin-top: 0;
        justify-content: flex-end;
        order: 2;
        gap: 0.75rem;
    }
    
    .btn-login {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
        gap: 0.375rem;
        order: 1;
    }
    
    .btn-login img {
        width: 18px;
        height: 18px;
    }
    
    .btn-login span {
        display: inline;
    }
    
    /* Hero Mobile */
    .hero {
        margin-bottom: 2rem;
        border-radius: 8px;
    }
    
    .hero-slider {
        height: 280px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-controls {
        padding: 0 0.75rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .hero-indicators {
        bottom: 0.75rem;
    }
    
    .hero-indicators span {
        width: 10px;
        height: 10px;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .article-card {
        border-radius: 8px;
    }
    
    .article-card-content {
        padding: 1.25rem;
    }
    
    .article-card h3 {
        font-size: 1.15rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .category-card {
        border-radius: 8px;
    }
    
    .category-content {
        padding: 1.25rem;
    }
    
    .category-content h3 {
        font-size: 1.15rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .game-card {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .game-card img {
        height: 120px;
        margin-bottom: 0.75rem;
    }
    
    .game-card h3 {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .view-all {
        font-size: 0.95rem;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Buttons Mobile - Touch Friendly */
    .btn,
    .btn-primary,
    .btn-contact {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        touch-action: manipulation;
    }
    
    /* Contact Mobile */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        padding: 0.625rem 0;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 32px;
        max-width: 100px;
    }
    
    .btn-login {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    .btn-login img {
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu-toggle {
        min-width: 40px;
        min-height: 40px;
        padding: 0.375rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .hero-slider {
        height: 220px;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .articles-grid {
        gap: 1rem;
    }
    
    .article-card-content {
        padding: 1rem;
    }
    
    .categories-grid {
        gap: 1rem;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .games-grid {
        gap: 0.75rem;
    }
    
    .game-card {
        padding: 0.625rem;
    }
    
    .game-card img {
        height: 100px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .article-card:hover,
    .category-card:hover,
    .game-card:hover {
        transform: none;
    }
    
    .btn-login:hover,
    .btn:hover,
    .btn-primary:hover {
        transform: none;
    }
    
    /* Increase tap target sizes */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Loading States */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Page Header (for kategoriler, hakkimizda, iletisim) */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold-color);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 2rem 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2 {
    color: var(--gold-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-content h2 {
    color: var(--gold-color);
    margin-bottom: 2rem;
}

.contact-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.contact-method h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.contact-method p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.btn-contact {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gold-color);
    color: var(--bg-dark);
    border-radius: 5px;
    font-weight: 700;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-contact:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Category Count */
.category-count {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: var(--gold-color);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero,
    .hero-controls {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

