:root {
  --ejderha-black: #1a1a2e;
  --ejderha-red: #d32f2f;
  --ejderha-red-light: #B71C1C;
  --ejderha-white: #ffffff;
  --ejderha-gray: #b0b0ff;
  --ejderha-black-accent: #16213e;
}

.bg-ejderha-black { background-color: var(--ejderha-black); }
.bg-ejderha-black-accent { background-color: var(--ejderha-black-accent); }
.bg-ejderha-red { background-color: var(--ejderha-red); }
.bg-ejderha-red-light { background-color: var(--ejderha-red-light); }
.text-ejderha-white { color: var(--ejderha-white); }
.text-ejderha-gray { color: var(--ejderha-gray); }
.text-ejderha-red { color: var(--ejderha-red); }
.text-ejderha-red-light { color: var(--ejderha-red-light); }
.border-ejderha-red { border-color: var(--ejderha-red); }
.border-ejderha-gray { border-color: var(--ejderha-gray); }

    .slot-machine {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        padding: 15px;
        background: var(--secondary-bg);
        border-radius: 10px;
        border: 3px solid var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .slot-window {
        width: 360px;
        height: 160px;
        overflow: hidden;
        position: relative;
        background: linear-gradient(135deg, #3a3a5a, #2d2d44);
        border-radius: 8px;
        box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .slot-strip {
        display: flex;
        position: absolute;
        left: 0;
        transition: transform 2.5s ease-in-out; /* Daha smooth ve hızlı geçiş */
    }

    .slot-item {
        width: 120px;
        height: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        background: rgba(74, 85, 104, 0.8);
        border: 2px solid var(--border-color);
        border-radius: 6px;
        margin: 0 3px;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .slot-item.vip {
        background: linear-gradient(135deg, #ffd700, #ffed4e);
        color: #2d3748;
        box-shadow: 0 0 10px #ffd700;
    }

    .slot-item img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .slot-item span {
        font-size: 1rem;
        font-weight: 700;
        margin-top: 10px;
        text-transform: uppercase;
    }

    .slot-item.highlight {
        transform: scale(1.05);
        box-shadow: 0 0 15px var(--accent-color);
        animation: pulse 1s infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1.05); }
        50% { transform: scale(1.1); }
    }

    .slot-indicator {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
        height: 100%;
        background: linear-gradient(#ff4444, #ff6b6b);
        border-radius: 3px;
        z-index: 10;
        box-shadow: 0 0 10px #ff4444;
    }

    .slot-controls {
        text-align: center;
        margin-top: 15px;
    }

    .slot-button {
        background: linear-gradient(135deg, var(--accent-color), #ffed4e);
        color: #2d3748;
        border: none;
        padding: 12px 30px;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .slot-button:disabled {
        background: var(--border-color);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .slot-button:hover:not(:disabled) {
        background: linear-gradient(135deg, #ffed4e, var(--accent-color));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }

    .slot-result {
        text-align: center;
        font-size: 1.2rem;
        color: var(--accent-color);
        margin-top: 15px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    @media (max-width: 768px) {
        .slot-window {
            width: 280px;
            height: 120px;
        }

        .slot-item {
            width: 93px;
            height: 120px;
        }

        .slot-item img {
            width: 60px;
            height: 60px;
        }

        .slot-item span {
            font-size: 0.9rem;
        }

        .slot-button {
            padding: 10px 25px;
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .slot-window {
            width: 200px;
            height: 90px;
        }

        .slot-item {
            width: 66px;
            height: 90px;
        }

        .slot-item img {
            width: 45px;
            height: 45px;
        }

        .slot-item span {
            font-size: 0.8rem;
        }

        .slot-button {
            padding: 8px 20px;
            font-size: 0.9rem;
        }
    }
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        * {
            font-family: 'Inter', sans-serif;
        }
        
        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #111111;
            --bg-card: #181818;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --accent: #3b82f6;
            --border: #2a2a2a;
        }
        
        body {
            background: var(--bg-primary);
            color: var(--text-primary);
        }
        
        .card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        
        .live-stream-area {
            width: 100%;
            aspect-ratio: 16/9;
            background: var(--bg-secondary);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }
        
        .no-stream {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1a1a 100%);
        }
        
        .no-stream-content {
            text-align: center;
            color: var(--text-secondary);
        }
        
        .no-stream-content i {
            font-size: 48px;
            color: var(--accent);
            margin-bottom: 16px;
            opacity: 0.7;
        }
        
        .no-stream-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }
        
        .no-stream-content p {
            font-size: 14px;
            opacity: 0.8;
        }
        
        #stream-embed {
            width: 100%;
            height: 100%;
        }
        
        #stream-embed iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
        }
        
        
        .table-minimal {
            width: 100%;
            border-collapse: collapse;
        }
        
        .table-minimal th {
            background: var(--bg-secondary);
            padding: 12px 16px;
            text-align: left;
            font-weight: 500;
            font-size: 14px;
            color: var(--accent);
            border-bottom: 1px solid var(--border);
        }
        
        .table-minimal td {
            padding: 12px 16px;
            font-size: 14px;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border);
        }
        
        .table-minimal tr:last-child td {
            border-bottom: none;
        }
        
        .section-title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .section-title i {
            color: var(--accent);
            font-size: 20px;
        }
        
        .subsection-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 16px;
        }
        
        .leader-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background: var(--bg-secondary);
            border-radius: 8px;
            margin-bottom: 8px;
        }
        
        .leader-item:last-child {
            margin-bottom: 0;
        }
        
        .leader-name {
            font-weight: 500;
            color: var(--text-primary);
        }
        
        .leader-stat {
            font-weight: 600;
            color: var(--accent);
        }
        
        @media (max-width: 768px) {
            .banner-grid {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 20px;
            }
            
            .table-minimal th,
            .table-minimal td {
                padding: 8px 12px;
                font-size: 13px;
            }
        }
        .nav-link {
            position: relative;
            display: inline-flex;
            align-items: center;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: #00d1ff;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .login-btn, #mobile-menu-button {
            pointer-events: auto;
            z-index: 50;
        }
        .leaderboard-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 209, 255, 0.2);
        }
        :root {
        --draco-neon-blue: #00D1FF;
        --draco-dark: #1A1A2E;
        --draco-dark-accent: #24243e;
        --draco-white: #F5F5F5;
        --draco-gray: #A0A0A0;
    }
    @font-face {
        font-family: 'Orbitron';
        src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
    }
    .animate-neon {
        animation: neonGlow 1.5s ease-in-out infinite alternate;
    }
    @keyframes neonGlow {
        from {
            box-shadow: 0 0 5px var(--draco-neon-blue), 0 0 10px var(--draco-neon-blue);
        }
        to {
            box-shadow: 0 0 15px var(--draco-neon-blue), 0 0 25px var(--draco-neon-blue);
        }
    }
    .supernova-aura {
        animation: supernovaPulse 0.5s ease-in-out infinite;
    }
    @keyframes supernovaPulse {
        0% { opacity: 0.4; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.3); }
        100% { opacity: 0.4; transform: scale(1); }
    }
    .rocket-trail {
        animation: trailFade 0.3s ease-in-out infinite;
    }
    @keyframes trailFade {
        0% { opacity: 0.3; }
        50% { opacity: 0.6; }
        100% { opacity: 0.3; }
    }
    canvas {
        background: radial-gradient(circle at center, #2a2a5e 0%, #0a0a1e 100%);
    }
    :root {
        --draco-neon-blue: #00D1FF;
        --draco-dark: #1A1A2E;
        --draco-dark-accent: #24243e;
        --draco-white: #F5F5F5;
        --draco-gray: #A0A0A0;
        --draco-red: #FF3D3D;
        --draco-blue: #3D9FFF;
        --draco-primary: #00D1FF;
        --draco-secondary: #3D9FFF;
    }
    @font-face {
        font-family: 'Orbitron';
        src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
    }
    .animate-fade-in {
        animation: fadeIn 0.5s ease-out;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .animate-pulse {
        animation: pulse 1.5s ease-in-out infinite;
    }
    @keyframes pulse {
        0% { opacity: 0.6; }
        50% { opacity: 1; }
        100% { opacity: 0.6; }
    }
    #replayModal.visible {
        opacity: 100;
        visibility: visible;
    }
    #replayModal.visible > div {
        transform: scale(1);
    }
    #toast.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    #replayContainer {
        background: #1A1A2E;
    }
    .chat-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 350px;
            max-height: 500px;
            background: #2c2f33;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            display: none;
            flex-direction: column;
            color: #fff;
            font-family: 'Segoe UI', Arial, sans-serif;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        .chat-container.open {
            display: flex;
        }
        .chat-header {
            background: #23272a;
            padding: 12px;
            border-radius: 12px 12px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        .chat-header h3 {
            margin: 0;
            font-size: 16px;
        }
        .close-chat {
            font-size: 18px;
            cursor: pointer;
        }
        .chat-tabs {
            display: flex;
            background: #2c2f33;
            padding: 8px;
        }
        .chat-tabs button {
            flex: 1;
            padding: 10px;
            border: none;
            background: #40444b;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.2s;
        }
        .chat-tabs button.active {
            background: #5865f2;
        }
        .chat-content {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            background: #36393f;
        }
        .chat-messages {
            display: none;
        }
        .chat-messages.active {
            display: block;
        }
        .message {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            position: relative;
            transition: opacity 0.3s ease;
        }
        .message.removed {
            opacity: 0;
            transform: translateY(10px);
        }
        .message .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 10px;
            border: 2px solid;
            object-fit: cover;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        .message .content {
            background: #40444b;
            padding: 8px 12px;
            border-radius: 8px;
            max-width: 70%;
            word-wrap: break-word;
        }
        .message .sender {
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 4px;
        }
        .message .sender .role-badge {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 5px;
            vertical-align: middle;
        }
        .message .role-admin_perm {
            background: #ff5555;
        }
        .message .role-master {
            background: #5865f2;
        }
        .message .text {
            font-size: 14px;
        }
        .message .timestamp {
            font-size: 10px;
            color: #aaa;
            margin-top: 4px;
        }
        .message .delete-btn {
            display: none;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            color: #ff5555;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 4px;
        }
        .message:hover .delete-btn {
            display: inline-block;
        }
        .message .private-chat-btn {
            display: none;
            position: absolute;
            right: 35px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            color: #5865f2;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 4px;
        }
        .message:hover .private-chat-btn {
            display: inline-block;
        }
        .chat-input {
            display: flex;
            align-items: center;
            padding: 10px;
            background: #2c2f33;
            border-top: 1px solid #40444b;
        }
        .chat-input input {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 8px;
            background: #40444b;
            color: #fff;
            margin-right: 8px;
        }
        .chat-input .emoji-btn {
            background: transparent;
            color: #fff;
            border: none;
            font-size: 18px;
            cursor: pointer;
            margin-right: 8px;
        }
        .chat-input button {
            padding: 10px 16px;
            background: #5865f2;
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }
        .chat-input button:hover {
            background: #4752c4;
        }
        .chat-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 12px 20px;
            background: #5865f2;
            color: #fff;
            border-radius: 20px;
            cursor: pointer;
            z-index: 1001;
        }
        .user {
            display: flex;
            align-items: center;
            padding: 8px;
            cursor: pointer;
            border-radius: 4px;
        }
        .user:hover {
            background: #40444b;
        }
        .user img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            margin-right: 10px;
            border: 2px solid;
            object-fit: cover;
        }
        .private-panel {
            display: flex;
            height: 100%;
        }
        .private-contacts {
            width: 120px;
            background: #2c2f33;
            padding: 10px;
            overflow-y: auto;
            border-right: 1px solid #40444b;
        }
        .private-chat {
            flex: 1;
            padding: 10px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        .private-chat-header {
            padding: 8px;
            background: #40444b;
            font-weight: bold;
            font-size: 14px;
            position: sticky;
            top: 0;
            z-index: 1;
        }
        .private-contact {
            display: flex;
            align-items: center;
            padding: 8px;
            margin-bottom: 8px;
            background: #40444b;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        .private-contact:hover {
            background: #5865f2;
        }
        .private-contact.active {
            background: #5865f2;
            transform: scale(1.05);
        }
        .private-contact img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            margin-right: 8px;
            border: 2px solid;
            object-fit: cover;
        }
        .request-list {
            margin-bottom: 10px;
        }
        .request-item {
            display: flex;
            align-items: center;
            padding: 8px;
            background: #40444b;
            border-radius: 8px;
            margin-bottom: 8px;
        }
        .request-item img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            margin-right: 10px;
        }
        .request-item .buttons {
            margin-left: auto;
        }
        .request-item .accept-btn {
            background: #5865f2;
            color: #fff;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            margin-right: 5px;
        }
        .request-item .reject-btn {
            background: #ff5555;
            color: #fff;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
        }
        .session-expired {
            display: none;
            padding: 15px;
            text-align: center;
            color: #ff5555;
            font-size: 14px;
        }
        .emoji-picker {
            display: none;
            position: absolute;
            bottom: 60px;
            right: 10px;
            z-index: 1002;
            background: #2c2f33;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        .emoji-picker.open {
            display: block;
        }
        .typing-indicator {
            font-size: 12px;
            color: #aaa;
            padding: 8px;
            display: none;
        }
        .typing-indicator.active {
            display: block;
        }
        .player-link {
            text-decoration: none;
            color: #fff;
        }
        .player-link:hover {
            color: #5865f2;
        }
        @media (max-width: 600px) {
            .chat-container {
                width: 100%;
                max-height: 100%;
                bottom: 0;
                right: 0;
                border-radius: 0;
            }
            .private-panel {
                flex-direction: column;
            }
            .private-contacts {
                width: 100%;
                height: 150px;
                border-right: none;
                border-bottom: 1px solid #40444b;
            }
            .private-chat {
                flex: 1;
            }
            .chat-toggle {
                bottom: 10px;
                right: 10px;
                padding: 10px 16px;
            }
            .chat-content {
                padding: 10px;
            }
            .message .content {
                max-width: 85%;
            }
            .emoji-picker {
                width: 100%;
                right: 0;
            }
        }