﻿body {
    background-image: url('/files/images/turnuvalar-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

.forum-background {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 1rem;
}

.forum-content {
    position: relative;
    z-index: 1;
}

/* Modern Tournament Cards - Full Transparent Glass */
.tournament-card {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 500px !important;
    min-height: 300px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 80px rgba(255, 255, 255, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
}

.tournament-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.8) saturate(1.2);
    transition: filter 0.4s ease;
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.tournament-card:hover::before {
    transform: translateX(100%);
}

.tournament-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

.tournament-card:hover .tournament-bg-img {
    filter: brightness(0.9) saturate(1.3);
}

.tournament-card>.w-full {
    position: relative;
    z-index: 10;
    padding: 2rem !important;
}

/* Status-based styling - Glass Effect */
.tournament-card.active {
    border-left: 4px solid #10b981 !important;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 100%) !important;
    box-shadow:
        0 8px 32px rgba(16, 185, 129, 0.15),
        inset 0 0 0 1px rgba(16, 185, 129, 0.2),
        0 0 60px rgba(16, 185, 129, 0.08) !important;
}

.tournament-card.inactive {
    border-left: 4px solid #ef4444 !important;
    background: linear-gradient(135deg,
            rgba(239, 68, 68, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 100%) !important;
    box-shadow:
        0 8px 32px rgba(239, 68, 68, 0.15),
        inset 0 0 0 1px rgba(239, 68, 68, 0.2),
        0 0 60px rgba(239, 68, 68, 0.08) !important;
}

/* Modern Typography */
.tournament-card h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.tournament-card p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Loading Animation */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tournament-card {
        max-width: 95% !important;
        margin: 0 auto 1.5rem auto !important;
    }

    .tournament-card>.w-full {
        padding: 1.5rem !important;
    }
}

/* Modern Button Styles - Navbar Effect */
.modern-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.8rem;
    gap: 0.2rem;
}

.modern-btn span,
.modern-btn i {
    position: relative;
    z-index: 1;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: #ffd700;
    transform: translateX(-50%) skewX(-15deg);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.modern-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ffd700;
    transform: skewX(-15deg);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.modern-btn:hover {
    color: #000000 !important;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.modern-btn:hover span,
.modern-btn:hover i {
    color: #000000 !important;
    font-weight: 600;
    text-shadow: none;
}

.modern-btn:hover::before {
    width: 100%;
}

.modern-btn:hover::after {
    width: 100%;
}

/* Button Variants */
.modern-btn-success {
    border-color: rgba(16, 185, 129, 0.3);
}

.modern-btn-success::before,
.modern-btn-success::after {
    background: #10b981;
}

.modern-btn-danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.modern-btn-danger::before,
.modern-btn-danger::after {
    background: #ef4444;
}

.modern-btn-info {
    border-color: rgba(59, 130, 246, 0.3);
}

.modern-btn-info::before,
.modern-btn-info::after {
    background: #3b82f6;
}

.modern-btn-warning {
    border-color: rgba(245, 158, 11, 0.3);
}

.modern-btn-warning::before,
.modern-btn-warning::after {
    background: #f59e0b;
}

.modern-btn-primary {
    border-color: rgba(255, 215, 0, 0.3);
}

.modern-btn-primary::before,
.modern-btn-primary::after {
    background: #ffd700;
}

/* Glassmorphism Effect - Full Transparent Glass */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Enhanced Typography */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Improved Tournament Card Styling */
.tournament-card h3 {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.tournament-card.active h3 {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tournament-card.inactive h3 {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status Indicators */
.status-indicator {
    position: relative;
    overflow: hidden;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced Hover Effects */
.tournament-card:hover {
    transform: translateY(-12px) scale(1.03) !important;
}

.tournament-card:hover .tournament-bg-img {
    filter: brightness(1.1) saturate(1.4) contrast(1.1);
}

/* Improved Grid Layout */
.tournaments-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: start;
    padding: 2rem 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .tournaments-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tournaments-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .tournaments-grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem 0;
    }
}

/* Enhanced Button Styles */
.modern-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 48px rgba(102, 126, 234, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Loading States */
.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Mobile Experience */
@media (max-width: 640px) {
    .tournament-card {
        margin: 0 auto 1.5rem auto !important;
        max-width: 95% !important;
    }

    .tournament-card>.relative {
        padding: 1.5rem !important;
    }

    .tournament-card h3 {
        font-size: 1.25rem !important;
    }

    .tournament-card p {
        font-size: 0.9rem !important;
    }
}

/* Tablet Optimizations */
@media (min-width: 641px) and (max-width: 1024px) {
    .tournaments-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 1.5rem;
    }

    .tournament-card {
        max-width: 100% !important;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1025px) {
    .tournaments-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 2rem;
    }
}

/* Ultra-wide Screen Support */
@media (min-width: 1440px) {
    .tournaments-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
        gap: 2.5rem;
    }
}

/* Improved Touch Interactions */
@media (hover: none) and (pointer: coarse) {
    .tournament-card:hover {
        transform: none !important;
    }

    .tournament-card:active {
        transform: scale(0.98) !important;
    }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .tournament-card {
        border-width: 0.5px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .tournament-card,
    .modern-btn,
    .loading-spinner {
        animation: none !important;
        transition: none !important;
    }

    .tournament-card:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .tournament-card {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* No Results */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    gap: 1rem;
}

.no-results i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Modal/Table Styles - Full Transparent Glass */
.tournaments-modal-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(255, 255, 255, 0.03);
}

.tournaments-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Search Bar Styles */
.search-container {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.search-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* New Table Design - Full Transparent Glass */
.tournaments-table-container {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tournaments-table-header {
    display: grid;
    grid-template-columns: 140px 320px 170px 170px auto;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    min-height: 60px;
    box-sizing: border-box;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-sizing: border-box;
    margin: 0;
}

.header-section:last-child {
    border-right: none;
}

.tournaments-table-body {
    max-height: 600px;
    overflow-y: auto;
}

.tournament-row {
    position: relative;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.tournament-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tournament-row:last-child {
    border-bottom: none;
}

/* Arama BarÄ± ve Butonlar DÃ¼zeni */
.search-and-actions-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-container {
    flex: 1;
    max-width: 500px;
}

.tournament-actions-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Responsive dÃ¼zen */
@media (max-width: 768px) {
    .search-and-actions-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-container {
        max-width: none;
    }

    .tournament-actions-container {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.no-results p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.row-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.row-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 140px 320px 170px 170px auto;
    gap: 0;
    height: 100%;
    min-height: 120px;
    box-sizing: border-box;
}

.content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    box-sizing: border-box;
    margin: 0;
}

.tournament-section {
    justify-content: center !important;
    align-items: flex-start !important;
}

.content-section:last-child {
    border-right: none;
}

/* New Tournament Row Styles */
.image-section {
    justify-content: center;
}

.tournament-image-preview {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tournament-image-preview:hover .preview-image {
    transform: scale(1.1);
}

.tournament-section {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 1.5rem !important;
    text-align: left !important;
    height: 100% !important;
}

.tournament-title {
    font-weight: 600;
    color: white;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
    width: 100%;
}

.tournament-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left;
    width: 100%;
}

/* Status Section */
.status-section {
    justify-content: center;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
}

.status-badge.inactive {
    background: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.5);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Date Section */
.date-section {
    justify-content: center;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.date-info i {
    color: rgba(255, 255, 255, 0.7);
}

/* Actions Section */
.actions-section {
    justify-content: center;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {

    /* Ana container optimizasyonlarÄ± */
    .forum-background {
        padding: 1rem 0.5rem;
    }

    .forum-content {
        padding: 0.5rem;
    }

    /* BaÅŸlÄ±k optimizasyonlarÄ± */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-top: 1rem !important;
        padding: 0 1rem;
    }

    p {
        font-size: 1rem !important;
        padding: 0 1rem;
        line-height: 1.5;
    }

    /* Modal container optimizasyonlarÄ± */
    .tournaments-modal-container {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Tablo baÅŸlÄ±ÄŸÄ±nÄ± gizle */
    .tournaments-table-header {
        display: none;
    }

    /* Tablo satÄ±rlarÄ±nÄ± mobil kartlara dÃ¶nÃ¼ÅŸtÃ¼r - Glass Effect */
    .tournament-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 16px;
        margin-bottom: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    /* SatÄ±r iÃ§eriÄŸini mobil iÃ§in dÃ¼zenle */
    .row-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        height: auto !important;
        min-height: auto !important;
        position: relative;
        z-index: 2;
    }

    /* Her bÃ¶lÃ¼mÃ¼ mobil kartlara dÃ¶nÃ¼ÅŸtÃ¼r */
    .content-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.75rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.6);
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .content-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Resim bÃ¶lÃ¼mÃ¼ - Glass Effect */
    .image-section {
        order: -1;
        padding-bottom: 1rem;
        background: rgba(255, 255, 255, 0.04);
    }

    .tournament-image-preview {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    /* Turnuva bilgileri */
    .tournament-section {
        order: 0;
        text-align: center !important;
        align-items: center !important;
        padding: 1rem !important;
        background: rgba(255, 255, 255, 0.03);
    }

    .tournament-title {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        line-height: 1.3;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .tournament-description {
        font-size: 0.9rem !important;
        text-align: center !important;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Durum bÃ¶lÃ¼mÃ¼ */
    .status-section {
        order: 1;
        justify-content: center;
        background: rgba(255, 255, 255, 0.02);
    }

    .status-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 20px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Tarih bÃ¶lÃ¼mÃ¼ */
    .date-section {
        order: 2;
        justify-content: center;
        background: rgba(255, 255, 255, 0.02);
    }

    .date-info {
        font-size: 0.8rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Aksiyon bÃ¶lÃ¼mÃ¼ - Glass Effect */
    .actions-section {
        order: 3;
        justify-content: center;
        padding-top: 1rem;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 8px;
    }

    .view-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .view-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

    /* Arama ve butonlar */
    .search-and-actions-container {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
        padding: 0 0.5rem;
    }

    .search-container {
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tournament-actions-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-input {
        font-size: 16px;
        /* iOS zoom Ã¶nleme */
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* Grid optimizasyonlarÄ± */
    .tournaments-grid-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0.5rem 0 !important;
    }

    /* Kart optimizasyonlarÄ± */
    .tournament-card {
        max-width: 100% !important;
        margin: 0 auto 1rem auto !important;
        min-height: 250px !important;
        border-radius: 16px;
    }

    .tournament-card>.w-full {
        padding: 1.5rem !important;
    }

    .tournament-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .tournament-card p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    /* Tablo body optimizasyonlarÄ± */
    .tournaments-table-body {
        max-height: none;
        overflow-y: visible;
    }

    /* Row overlay optimizasyonlarÄ± - Glass Effect */
    .row-overlay {
        background: rgba(0, 0, 0, 0.15);}
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .forum-background {
        padding: 0.5rem 0.25rem;
    }

    .forum-content {
        padding: 0.25rem;
    }

    h1 {
        font-size: 2rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }

    .tournaments-modal-container {
        margin: 0.25rem;
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .tournament-row {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .content-section {
        padding: 0.5rem !important;
        margin-bottom: 0.25rem;
    }

    .tournament-title {
        font-size: 1rem !important;
    }

    .tournament-description {
        font-size: 0.8rem !important;
    }

    .tournament-image-preview {
        width: 80px;
        height: 80px;
    }

    .status-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .date-info {
        font-size: 0.7rem;
    }

    .view-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        max-width: 180px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .tournament-row {
        min-height: 120px;
        padding: 1rem;
    }

    .content-section {
        padding: 0.5rem !important;
    }

    .tournament-title {
        font-size: 1rem !important;
    }

    .tournament-description {
        font-size: 0.8rem !important;
    }

    .tournament-image-preview {
        width: 60px;
        height: 60px;
    }
}

/* Header Divider */
.header-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(102, 126, 234, 0.6) 50%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent 100%);
    margin: 1.5rem 0;
    border-radius: 1px;
}

/* Search and Actions Container */
.search-and-actions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.forum-actions-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Modern Buttons */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modern-btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.modern-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.modern-btn-warning {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modern-btn-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Sayfa Navigasyon Stilleri - Full Transparent Glass */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 20px 20px;
    margin-top: -1px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;}

.page-number:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

.page-number.active {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Responsive Sayfa Navigasyon */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 10px;
        margin: 0 0.5rem;
    }

    .pagination-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }

    .page-number {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        padding: 10px 5px;
        margin: 0 0.25rem;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 70px;
    }

    .page-number {
        padding: 5px 8px;
        font-size: 11px;
        min-width: 28px;
    }
}

/* Modal Styles - Full Transparent Glass */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    z-index: 2147483647 !important;
    padding: 7rem 1rem 2rem !important;
}

.modal-container {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 120px rgba(255, 255, 255, 0.04) !important;
    max-width: 1200px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 2147483647 !important;
    width: 100% !important;
    max-height: calc(100vh - 8rem) !important;
    display: flex !important;
    flex-direction: column !important;
}

.search-modal-container {
    width: 100%;
    max-width: 1200px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-body {
    overflow: hidden;
    max-height: calc(90vh - 120px);
}

.search-results-section {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-input-section {
    flex-shrink: 0;
}

.modal-header .search-input-wrapper {
    min-width: 300px;
}

.modal-header .search-input {
    padding: 8px 12px;
    font-size: 14px;
}

.modal-header .search-btn {
    padding: 8px 16px;
    font-size: 14px;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 20px;
    margin-right: 20px;
}

.search-results-header h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.results-count {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.search-results-table {
    overflow: hidden;
    max-height: calc(90vh - 200px);
    margin: 0 20px;
}

.search-results-table .tournaments-table-header {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-template-columns: 120px 1fr 120px 140px 140px;
    gap: 1rem;
    padding: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.search-results-table .tournaments-table-body {
    max-height: 500px;
    overflow-y: auto;
}

/* Search Input Styles - Glass Effect */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.search-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-and-actions-container {
        flex-direction: column;
        gap: 1rem;
    }

    .forum-actions-container {
        flex-direction: column;
        width: 100%;
    }

    .modern-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .modal-container {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .modal-header {
        flex-direction: column;
        gap: 1rem;
        padding: 15px 20px;
    }

    .modal-header .search-input-wrapper {
        min-width: 100%;
    }

    .modal-header .search-input {
        padding: 10px 14px;
        font-size: 16px;
    }

    .modal-header .search-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .search-results-table .tournaments-table-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 12px;
    }

    .search-results-table .tournaments-table-body {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        margin: 0.5rem;
        border-radius: 15px;
    }

    .modal-header {
        padding: 10px 15px;
    }

    .search-results-header h4 {
        font-size: 1.2rem;
    }

    .results-count {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}