/* Sarı tema — yalnızca /turnuvalar ana sayfası (alt sayfalara sızmaz) */
body.turnuvalar-page:not(.tac-turnuvasi-page):not(.bireysel-oyuncular-page):not(.turnuva-takimlari-page) {
    background: linear-gradient(
        160deg,
        #100c06 0%,
        #0e0c08 50%,
        #120e06 100%
    ) !important;
    background-image: none !important;
    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;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body.turnuvalar-page:not(.tac-turnuvasi-page):not(.bireysel-oyuncular-page):not(.turnuva-takimlari-page) {
        background-attachment: scroll;
    }
}

body.turnuvalar-page:not(.tac-turnuvasi-page):not(.bireysel-oyuncular-page):not(.turnuva-takimlari-page)::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 70% 50% at 10% 6%, rgba(234, 179, 8, 0.22) 0%, transparent 58%);
}

body.turnuvalar-page:not(.tac-turnuvasi-page):not(.bireysel-oyuncular-page):not(.turnuva-takimlari-page)::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 60% 45% at 90% 94%, rgba(202, 138, 4, 0.18) 0%, transparent 52%);
}

/* Sarı parçacık yağmuru */
.ttv-particle-fall {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ttv-particle {
    position: absolute;
    top: -5%;
    left: calc(var(--x, 50) * 1%);
    width: var(--sz, 8px);
    height: calc(var(--sz, 8px) * 1.15);
    background: radial-gradient(ellipse at 35% 25%, rgba(253, 224, 71, 0.75), rgba(234, 179, 8, 0.35));
    border-radius: 150% 0 150% 150%;
    opacity: 0;
    animation: ttv-particle-fall var(--dur, 14s) var(--delay, 0s) linear infinite;
    will-change: transform, opacity;
}

@keyframes ttv-particle-fall {
    0% {
        transform: translateY(-8vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: var(--op, 0.3);
    }
    92% {
        opacity: var(--op, 0.3);
    }
    100% {
        transform: translateY(108vh) translateX(var(--drift, 20px)) rotate(540deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ttv-particle-fall {
        display: none;
    }
}

body.turnuvalar-page .forum-background,
body.turnuvalar-page .forum-content {
    background: transparent !important;
    position: relative;
    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,
.modern-btn iconify-icon {
    position: relative;
    z-index: 1;
}

.modern-btn iconify-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.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,
.modern-btn:hover iconify-icon {
    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;
    }
}

/* 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;
}

/* Turnuvalar başlığı – rehberler/formlar ile aynı: HiJack, clamp, gradient (emboss/altın override) */
.tournaments-modal-header .header-title h2,
.tournaments-modal-header .page-title-box h2,
body.turnuvalar-page .tournaments-modal-header h2 {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif !important;
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
    text-shadow: none !important;
    background: linear-gradient(90deg, #eab308 0%, #fde047 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.tournaments-modal-header .page-title-box {
    margin-bottom: 1rem;
}

/* 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:not(.listing-etkinlik-card) {
    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:not(.listing-etkinlik-card):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tournament-row:not(.listing-etkinlik-card):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,
.date-info iconify-icon {
    color: rgba(255, 255, 255, 0.7);
}

.date-info iconify-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* 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: max(0.75rem, env(safe-area-inset-top, 0px)) 0.65rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        gap: 1rem !important;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .forum-content {
        padding: 0.5rem;
    }

    /* BaÅŸlÄ±k optimizasyonlarÄ± */
    h1 {
        font-size: clamp(1.35rem, 5vw, 1.85rem) !important;
        line-height: 1.25 !important;
        margin-top: 0.75rem !important;
        padding: 0 0.75rem;
    }

    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:not(.listing-etkinlik-card) {
        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: 100%;
        margin: 0 auto;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        min-height: 48px;
        box-sizing: border-box;
    }

    .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:not(.listing-etkinlik-card) {
        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:not(.listing-etkinlik-card) {
        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(249, 115, 22, 0.55) 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;
}

.turnuvalar-page .forum-actions-container .modern-btn {
    min-width: auto;
    min-height: auto;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.875rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.turnuvalar-page .forum-actions-container .modern-btn:hover {
    transform: none;
    box-shadow: none;
}

.turnuvalar-page .forum-actions-container .modern-btn-primary {
    border-color: rgba(249, 115, 22, 0.45);
}

.turnuvalar-page .forum-actions-container .modern-btn-primary::before,
.turnuvalar-page .forum-actions-container .modern-btn-primary::after {
    background: #f97316;
}

.turnuvalar-page .forum-actions-container .modern-btn-secondary {
    border-color: rgba(255, 255, 255, 0.22);
}

.turnuvalar-page .forum-actions-container .modern-btn-secondary::before,
.turnuvalar-page .forum-actions-container .modern-btn-secondary::after {
    background: rgba(255, 255, 255, 0.85);
}

.turnuvalar-page .forum-actions-container .modern-btn-secondary:hover,
.turnuvalar-page .forum-actions-container .modern-btn-secondary:hover span,
.turnuvalar-page .forum-actions-container .modern-btn-secondary:hover iconify-icon {
    color: #141414 !important;
}

.turnuvalar-page .forum-actions-container .modern-btn-warning::before,
.turnuvalar-page .forum-actions-container .modern-btn-warning::after {
    background: #f59e0b;
}

.turnuvalar-page .forum-actions-container .modern-btn-success::before,
.turnuvalar-page .forum-actions-container .modern-btn-success::after {
    background: #22c55e;
}

/* 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 iconify-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.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;
    }
}

/* Turnuva arama modalı — turnuvalar sarı teması */
body.turnuva-search-modal-open {
    overflow: hidden !important;
}

.ttv-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: max(5.5rem, 6vh) 1rem 1.5rem;
    background: rgba(8, 6, 4, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
}

.ttv-search-overlay--visible {
    display: flex;
}

.ttv-search-panel {
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 7rem);
    max-height: calc(100dvh - 7rem);
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(36, 28, 12, 0.97) 0%, rgba(18, 14, 8, 0.98) 100%);
    border: 1px solid rgba(253, 224, 71, 0.22);
    border-radius: 22px;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 48px rgba(234, 179, 8, 0.08);
    overflow: hidden;
}

.ttv-search-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 0.85rem;
    border-bottom: 1px solid rgba(253, 224, 71, 0.12);
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.08) 0%, transparent 100%);
}

.ttv-search-top-text h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fde047;
}

.ttv-search-top-text h3 iconify-icon {
    width: 1.15em;
    height: 1.15em;
}

.ttv-search-top-text p {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
}

.ttv-search-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ttv-search-close:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.4);
    color: #fecaca;
}

.ttv-search-bar-row {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1rem 1.35rem 0.35rem;
}

.ttv-search-bar {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.85rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(253, 224, 71, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ttv-search-bar:focus-within {
    border-color: rgba(253, 224, 71, 0.48);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.14);
}

.ttv-search-bar-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: rgba(253, 224, 71, 0.75);
}

.ttv-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    padding: 0.85rem 0;
    outline: none;
}

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

.ttv-search-clear {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.ttv-search-clear:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ttv-search-submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 1.15rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
    color: #1a1206;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.28);
}

.ttv-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.38);
}

.ttv-search-submit iconify-icon {
    width: 0.95em;
    height: 0.95em;
}

.ttv-search-meta {
    padding: 0.35rem 1.35rem 0.65rem;
}

.ttv-search-count {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(253, 224, 71, 0.92);
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(253, 224, 71, 0.18);
}

.ttv-search-results {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 1.35rem 1.35rem;
}

.ttv-search-results .tournaments-table-container--cards {
    margin: 0;
    overflow: hidden;
}

.ttv-search-results .etkinlik-grid.tournaments-table-body {
    max-height: min(52vh, 480px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.65rem 0.5rem 0.85rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.ttv-search-results .etkinlik-card.listing-etkinlik-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hover scale taşmasın — gölge ve hafif yukarı kayma yeterli */
.ttv-search-results .etkinlik-card.listing-etkinlik-card:hover,
.ttv-search-results .etkinlik-card:hover {
    transform: translateY(-3px) !important;
}

body.turnuvalar-page .ttv-search-results .etkinlik-card.listing-etkinlik-card.tac-tournament-card:hover,
body.turnuvalar-page .ttv-search-results .etkinlik-card.listing-etkinlik-card.regular-tournament-card:hover {
    transform: translateY(-3px) !important;
}

.ttv-search-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
    min-height: 220px;
}

.ttv-search-state-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(253, 224, 71, 0.22);
    color: #fde047;
    font-size: 1.45rem;
}

.ttv-search-state h4 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.ttv-search-state p {
    margin: 0;
    max-width: 26rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.ttv-search-state-loading .ttv-search-spinner {
    width: 2rem;
    height: 2rem;
    color: #fde047;
    animation: ttv-search-spin 0.85s linear infinite;
    margin-bottom: 0.75rem;
}

@keyframes ttv-search-spin {
    to { transform: rotate(360deg); }
}

.ttv-search-state-error .ttv-search-state-icon {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fca5a5;
}

.ttv-search-results::-webkit-scrollbar {
    width: 8px;
}

.ttv-search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.ttv-search-results::-webkit-scrollbar-thumb {
    background: rgba(234, 179, 8, 0.35);
    border-radius: 4px;
}

.ttv-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 179, 8, 0.5);
}

@media (max-width: 768px) {
    .ttv-search-overlay {
        padding: max(4.75rem, 5vh) 0.65rem 1rem;
        align-items: stretch;
    }

    .ttv-search-panel {
        max-height: calc(100dvh - 5.5rem);
        border-radius: 18px;
    }

    .ttv-search-top,
    .ttv-search-bar-row,
    .ttv-search-meta,
    .ttv-search-results {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ttv-search-bar-row {
        flex-direction: column;
    }

    .ttv-search-submit {
        justify-content: center;
        padding: 0.85rem 1rem;
        width: 100%;
    }

    .ttv-search-input {
        font-size: 16px;
    }

    .ttv-search-results .etkinlik-grid.tournaments-table-body {
        max-height: min(48vh, 420px);
        grid-template-columns: 1fr;
    }

    .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;
    }
}

@media (max-width: 480px) {
    .ttv-search-top-text h3 {
        font-size: 1.05rem;
    }
}

/* --- Turnuva listesi: /etkinlik ile aynı kart grid (etkinlik.css + bu dosya) --- */
.tournaments-table-container--cards {
    overflow: visible;
}

.tournaments-table-container--cards .tournaments-table-body.etkinlik-grid {
    max-height: none;
    overflow: visible;
}

.etkinlik-grid .no-tournaments-message,
.etkinlik-grid .etkinlik-grid-empty,
.etkinlik-grid .no-results {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 28rem;
    text-align: center;
    padding: 2.5rem 1rem;
}

.turnuva-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 0.68rem !important;
    align-items: flex-start !important;
    opacity: 0.88;
}

/* Turnuva listesi kartları — taç + klasik uyumlu modern görünüm */
body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.tac-tournament-card,
body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.regular-tournament-card {
    border: 1px solid rgba(253, 224, 71, 0.14) !important;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.tac-tournament-card:hover {
    border-color: rgba(253, 224, 71, 0.42) !important;
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(253, 224, 71, 0.18),
        0 0 36px rgba(234, 179, 8, 0.22) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.regular-tournament-card:hover {
    border-color: rgba(250, 204, 21, 0.38) !important;
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(250, 204, 21, 0.16),
        0 0 32px rgba(202, 138, 4, 0.2) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-overlay {
    align-items: stretch !important;
    justify-content: flex-end !important;
    background: linear-gradient(
        180deg,
        rgba(8, 6, 4, 0.08) 0%,
        rgba(8, 6, 4, 0.42) 38%,
        rgba(6, 5, 3, 0.92) 100%
    ) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-info {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 46% !important;
    max-height: 68% !important;
    margin-top: auto !important;
    overflow: hidden !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: none !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-info-inner {
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    padding: 0.85rem 1rem 0.9rem 1.05rem !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-title {
    flex-shrink: 0 !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    line-height: 1.35 !important;
    padding-top: 0.12em !important;
    padding-bottom: 0.08em !important;
    margin-bottom: 0.35rem !important;
    -webkit-line-clamp: 2;
    min-height: calc(1.35em * 2);
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-info-meta-block {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-detay.listing-card-cta {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    padding: 0.58rem 0.9rem !important;
    border-top: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(161, 98, 7, 0.12) 100%) !important;
    border: 1px solid rgba(253, 224, 71, 0.32) !important;
    color: #fef08a !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-cta span {
    line-height: 1;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .etkinlik-card-meta iconify-icon {
    color: #fde047;
    flex-shrink: 0;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-cta iconify-icon {
    width: 0.8rem !important;
    height: 0.8rem !important;
    color: #fde047 !important;
    transition: transform 0.22s ease !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card:hover .listing-card-cta {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.34) 0%, rgba(202, 138, 4, 0.22) 100%) !important;
    border-color: rgba(253, 224, 71, 0.55) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.18) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card:hover .listing-card-cta iconify-icon {
    transform: translateX(3px) !important;
    color: #fff !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-delete {
    background: rgba(127, 29, 29, 0.92) !important;
    background-image: none !important;
    cursor: pointer !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-delete:hover {
    background: rgba(185, 28, 28, 0.98) !important;
    background-image: none !important;
    border-color: rgba(252, 165, 165, 0.45) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-delete iconify-icon {
    width: 1rem !important;
    height: 1rem !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.tac-tournament-card .listing-card-status {
    background: rgba(120, 53, 15, 0.92) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card.regular-tournament-card .listing-card-status {
    background: rgba(113, 63, 18, 0.92) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-status--active {
    border-color: rgba(134, 239, 172, 0.35) !important;
}

body.turnuvalar-page .etkinlik-card.listing-etkinlik-card .listing-card-status--pending {
    border-color: rgba(253, 186, 116, 0.35) !important;
}

@media (max-width: 480px) {
    .view-btn {
        max-width: 100%;
        padding: 12px 16px;
    }
}