* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px;
}

.header {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.header h1 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #3182ce, #805ad5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.header p {
    font-size: 1rem !important;
    margin-bottom: 0;
}

.section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 12px;
}

.section ul,
.section ol {
    margin-left: 20px;
    line-height: 1.7;
    color: #4a5568;
}

.section li {
    margin-bottom: 8px;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section h2 {
    color: #2d3748;
    border-bottom: 3px solid #3182ce;
    padding-bottom: 8px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.database-visual {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    margin: 16px 0;
    text-align: center;
}

.table-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.table-visual {
    background: white;
    border: 2px solid #3182ce;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    overflow: hidden;
}

.table-header {
    background: #3182ce;
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: center;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.table-cell {
    padding: 10px 12px;
    border-right: 1px solid #e2e8f0;
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    color: #4a5568;
}

.table-cell:last-child {
    border-right: none;
}

.sql-command {
    background: #1a202c;
    color: #68d391;
    padding: 18px;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    margin: 15px 0;
    position: relative;
    border-left: 4px solid #68d391;
}

.sql-command::before {
    content: "SQL";
    position: absolute;
    top: -10px;
    right: 10px;
    background: #68d391;
    color: #1a202c;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.example-box {
    background: #f0fff4;
    border: 2px solid #48bb78;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    color: #2d3748;
    line-height: 1.6;
}

.warning-box {
    background: #fed7d7;
    border: 2px solid #f56565;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    color: #2d3748;
    line-height: 1.6;
}

.tip-box {
    background: #ebf8ff;
    border: 2px solid #3182ce;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    color: #2d3748;
    line-height: 1.6;
}

.interactive-demo {
    background: linear-gradient(135deg, #3182ce, #805ad5);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.demo-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    margin: 10px 0;
    font-family: "Courier New", monospace;
    border: 2px solid #e2e8f0;
}

.demo-button {
    background: #48bb78;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    font-weight: 600;
}

.demo-button:hover {
    background: #38a169;
}

.result-table {
    background: white;
    color: #4a5568;
    border-radius: 6px;
    margin: 10px 0;
    overflow: hidden;
}

.crud-operations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.crud-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.crud-item:hover {
    border-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.crud-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #3182ce;
}

.join-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.join-table {
    background: white;
    border: 2px solid #3182ce;
    border-radius: 8px;
    padding: 15px;
    min-width: 150px;
}

.join-arrow {
    font-size: 2rem;
    color: #3182ce;
    font-weight: bold;
}

.nav-menu {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.nav-item {
    background: #3182ce;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
    text-align: center;
    min-width: 110px;
    font-weight: 500;
}

.nav-item:hover {
    background: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .table-container {
        flex-direction: column;
        align-items: center;
    }

    .join-visual {
        flex-direction: column;
    }
}

.highlight {
    background: linear-gradient(120deg, #ebf8ff 0%, #e6fffa 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #2d3748;
}

.syntax-highlight .keyword {
    color: #d53f8c;
    font-weight: bold;
}

.syntax-highlight .string {
    color: #38a169;
}

.syntax-highlight .number {
    color: #805ad5;
}

.syntax-highlight .comment {
    color: #718096;
    font-style: italic;
}

/* İnteraktif Çalışma Alanı */
.playground {
    background: linear-gradient(135deg, #3182ce, #805ad5);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: white;
}

.playground-header {
    text-align: center;
    margin-bottom: 20px;
}

.playground-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.query-builder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
}

.clickable-commands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.sql-block {
    background: #48bb78;
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.sql-block:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}

.sql-block:active {
    transform: translateY(0);
}

.sql-block.selected {
    background: #e53e3e;
    border-color: #c53030;
}

.sql-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.sql-block:hover::before {
    left: 100%;
}

.query-display-zone {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    min-height: 200px;
    padding: 20px;
    margin: 15px 0;
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
}

.query-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-height: 160px;
}

.query-token {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.query-token:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.token-remove {
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    margin-top: 16px;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.query-preview-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.result-table-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

/* Hızlı Ekleme Butonları */
.quick-add-btn {
    background: rgba(72, 187, 120, 0.8);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Courier New", monospace;
    font-weight: 500;
}

.quick-add-btn:hover {
    background: rgba(72, 187, 120, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quick-add-btn:active {
    transform: translateY(0);
}

.preview-table {
    background: white;
    color: #4a5568;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-run {
    background: #48bb78;
    color: white;
}

.btn-run:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.btn-clear {
    background: #e53e3e;
    color: white;
}

.btn-clear:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.btn-sound {
    background: #3182ce;
    color: white;
}

.btn-sound:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

/* Ses Kontrolleri - Her zaman yuvarlak, başlangıçta küçük */
.audio-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 50px !important;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.audio-controls.expanded {
    width: auto;
    height: auto;
    min-width: 200px;
    padding: 15px;
    border-radius: 15px !important;
}

.audio-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    width: 100%;
}

.audio-panel {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
}

.audio-panel.collapsed {
    max-height: 0;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #4a5568;
}

.volume-slider {
    width: 100px;
}

/* Ses Dersleri Menüsü */
.audio-lessons {
    background: #f7fafc !important;
    color: #2d3748 !important;
    cursor: pointer;
    border: 2px solid #e2e8f0 !important;
}

.audio-lessons:hover {
    background: #edf2f7 !important;
    border-color: #3182ce !important;
}

.audio-lessons-menu {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: none;
    animation: slideDown 0.3s ease;
    border: 1px solid #e2e8f0;
}

.audio-lessons-menu.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Ses Oynatıcı Stilleri */
.lesson-list {
    margin-bottom: 20px;
}

.lesson-item {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lesson-item:hover {
    background: #ebf8ff;
    border-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.lesson-item span {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.lesson-item small {
    color: #718096;
    font-size: 0.85rem;
}

.audio-player {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.player-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-player {
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-player:hover {
    background: #c53030;
}

.progress-container {
    margin-bottom: 15px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #718096;
    font-family: "Courier New", monospace;
}

.progress-bar-audio {
    position: relative;
    background: #e2e8f0;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.progress-fill-audio {
    background: linear-gradient(90deg, #3182ce, #805ad5);
    height: 100%;
    border-radius: 20px;
    transition: width 0.1s ease;
    width: 0%;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.control-btn {
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #2c5282;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.play-pause {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    background: #48bb78;
}

.play-pause:hover {
    background: #38a169;
}

.player-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.speed-control,
.volume-control-player {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.speed-control select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
}

.volume-control-player input {
    width: 80px;
}

/* Database Schema Modal */
.schema-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.schema-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.schema-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #2d3748;
    position: relative;
    animation: slideUp 0.3s ease;
    border: 1px solid #e2e8f0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

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

.schema-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.schema-header h3 {
    color: #2d3748;
    font-weight: 700;
}

.modal-close {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #cbd5e0;
    transform: scale(1.05);
}

.schema-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.schema-table {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e2e8f0;
}

.schema-table h5 {
    color: #3182ce;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
}

.schema-columns {
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.schema-column {
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.schema-column:last-child {
    border-bottom: none;
}

.column-name {
    font-weight: bold;
    color: #2d3748;
}

.column-type {
    color: #805ad5;
    margin-left: 10px;
}

.sample-data {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

/* Yukarı Çık Butonu */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    border: 2px solid #2c5282;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(49, 130, 206, 0.4);
    background: #2c5282;
}

/* Responsive */
/* 15-16 inç büyük laptop ekranları için optimizasyon */
@media (min-width: 1441px) and (min-height: 901px) {
    .container {
        max-width: 1200px;
        padding: 20px;
    }

    .header {
        padding: 25px;
        margin-bottom: 25px;
    }

    .header h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .section {
        padding: 22px;
        margin-bottom: 22px;
    }

    .section h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }

    .playground {
        padding: 22px;
        margin: 22px 0;
    }

    .query-builder {
        padding: 20px;
    }

    .sql-block {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    .clickable-commands {
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
        gap: 12px;
        margin-bottom: 22px;
    }

    .result-grid {
        gap: 22px;
    }

    .result-preview {
        padding: 20px;
    }
}

/* 13 inç laptop ekranları için optimizasyon */
@media (max-width: 1440px) and (max-height: 900px) {
    .container {
        max-width: 950px;
        padding: 12px;
    }

    .header {
        padding: 18px;
        margin-bottom: 18px;
    }

    .header h1 {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .section {
        padding: 18px;
        margin-bottom: 18px;
    }

    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .playground {
        padding: 18px;
        margin: 18px 0;
    }

    .query-builder {
        padding: 16px;
    }

    .sql-block {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .clickable-commands {
        gap: 8px;
        margin-bottom: 16px;
    }
}

/* 14 inç orta laptop ekranları için (varsayılan değerler uygun) */
@media (min-width: 1367px) and (max-width: 1440px) {
    .container {
        max-width: 1050px;
    }
}

/* Tablet için ek ayarlar */
@media (max-width: 1024px) {
    .clickable-commands {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        gap: 10px;
    }

    .sql-block {
        font-size: 0.85rem;
        padding: 10px 12px;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
    }

    .nav-item {
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .playground-content {
        grid-template-columns: 1fr;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .clickable-commands {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
        gap: 8px;
    }

    .sql-block {
        font-size: 0.8rem;
        padding: 8px 10px;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .query-tokens {
        min-height: 120px;
    }

    .audio-controls {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 20px auto;
        width: 60px;
        height: 60px;
        border-radius: 50px !important;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* Ses oynatıcı mobil uyumluluğu */
    .audio-player {
        padding: 15px;
    }

    .player-controls {
        gap: 8px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .play-pause {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .player-settings {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Schema modal mobil uyumluluğu */
    .schema-modal {
        padding: 10px;
    }

    .schema-modal-content {
        max-width: 100%;
        max-height: 95vh;
        padding: 20px;
    }

    .schema-tables {
        grid-template-columns: 1fr;
    }

    .schema-table {
        margin-bottom: 15px;
    }

    /* Table görselleri mobil için */
    .table-container {
        flex-direction: column;
        align-items: center;
    }

    .table-visual {
        width: 100%;
        max-width: 350px;
        margin-bottom: 15px;
    }

    .table-cell {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    /* CRUD operations grid */
    .crud-operations {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* JOIN visual */
    .join-visual {
        flex-direction: column;
        gap: 15px;
    }

    .join-arrow {
        font-size: 1.5rem;
        transform: rotate(90deg);
    }
}

/* Çok küçük ekranlar için ek ayarlar */
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 15px;
    }

    .sql-block {
        font-size: 0.7rem;
        padding: 6px 8px;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
    }

    .clickable-commands {
        grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)) !important;
    }

    .playground {
        padding: 20px;
        margin: 15px 0;
    }

    .query-builder {
        padding: 15px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-item {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .play-pause {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Animasyonlar */
@keyframes bounce {
    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -10px, 0);
    }

    70% {
        transform: translate3d(0, -5px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.bounce {
    animation: bounce 1s;
}

/* Başarı Mesajı */
.success-message {
    background: #48bb78;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.success-message.show {
    opacity: 1;
}
