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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom, #ffffff, #faf7f0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#app {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
}

.screen {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 80px;
}

.screen.hidden {
    display: none;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Login Sekmeleri */
.login-tabs {
    display: flex;
    gap: 6px;
    padding: 0 16px 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.login-tab {
    flex: 1;
    min-width: 70px;
    max-width: 120px;
    padding: 10px 8px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}
.login-tab:hover {
    border-color: #c41e3a;
    color: #c41e3a;
    transform: translateY(-1px);
}
.login-tab.active {
    background: linear-gradient(135deg, #c41e3a, #8b0000);
    border-color: #c41e3a;
    color: white;
    box-shadow: 0 4px 12px rgba(196,30,58,0.35);
}
.login-tab-content {
    animation: fadeIn 0.2s ease;
}

.brand-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.brand-header .subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.description {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #334155;
}

.description strong {
    font-weight: 600;
}

.btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-dark {
    background: #1f2937;
    color: white;
}

.btn-dark:hover {
    background: #111827;
}

.btn-dark:active {
    background: #000000;
}

.btn-gold {
    background: #c6a24d;
    color: white;
}

.btn-google {
    background: white;
    color: #1f2937;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-gold:hover {
    background: #b28f40;
}

.btn-gold:active {
    background: #a27f35;
}

.btn-outline {
    background: white;
    color: #334155;
    font-weight: 600;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #475569;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.demo-info {
    padding: 0.75rem;
    background: #e0f2fe;
    border-radius: 0.5rem;
    border: 1px solid #bae6fd;
    margin-top: 0.5rem;
}

.demo-info small {
    font-size: 0.75rem;
    color: #0369a1;
    line-height: 1.5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #dc2626;
}

.dashboard-content {
    padding: 1rem;
}

.dashboard-content h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dashboard-card h3 {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.dashboard-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c6a24d;
    margin: 0.5rem 0;
}

.dashboard-card .btn {
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.copyright {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    color: #94a3b8;
    text-align: center;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modal açıkken footer'ı gizle */
.modal:not(.hidden) ~ .copyright {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

/* Body'de hide-footer class varsa footer'ı gizle */
body.hide-footer .copyright {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

@media (min-width: 768px) {
    #app {
        max-width: 480px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 375px;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    z-index: 10;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #fecaca;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #a7f3d0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    resize: vertical;
}

.form-group textarea:focus {
    border-color: #475569;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.file-upload-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.file-upload-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-upload-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.file-name {
    font-size: 0.75rem;
    color: #64748b;
}

.btn-file-select {
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: #c6a24d;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.btn-file-select:hover {
    background: #b28f40;
}

.btn-file-select:active {
    background: #a27f35;
}

.btn-file-select input[type="file"] {
    display: none;
}

/* Dashboard Sections */
.brand-header {
    position: relative;
}

.btn-back {
    position: absolute;
    left: 0;
    top: 0.25rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    color: #334155;
    cursor: pointer;
    font-size: 1rem;
}

.btn-logout {
    position: absolute;
    right: 0;
    top: 0.25rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    color: #991b1b;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.dashboard-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.dashboard-card {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 1.25rem;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c6a24d 0%, #d4b166 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.dashboard-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-icon {
    font-size: 2.25rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf7f0 0%, #f5f0e6 100%);
    border-radius: 1rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.card-arrow {
    font-size: 1.25rem;
    color: #cbd5e1;
    transition: all 0.3s;
    flex-shrink: 0;
}

.dashboard-card:hover .card-arrow {
    color: #c6a24d;
    transform: translateX(4px);
}

.dashboard-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* Offers & Academy Lists */
#offers-list, #academy-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #faf7f0 100%);
    border: 1px solid #e5dcc8;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(198, 162, 77, 0.15);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 162, 77, 0.25);
}

.offer-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.offer-logo {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-top: 0.25rem;
}

.academy-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.academy-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.academy-logo {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.academy-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-top: 0.25rem;
}

.offer-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.offer-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.offer-qr-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: #f8f9fa;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-qr-btn:hover {
    background: #1f2937;
    color: white;
    border-color: #1f2937;
}

.academy-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.academy-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.academy-enroll-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: #c6a24d;
    color: white;
    border: 1px solid #c6a24d;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.academy-enroll-btn:hover {
    background: #b8964a;
    border-color: #b8964a;
}

.academy-enrolled-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: not-allowed;
}

/* genomeXlab Styles */
.genomex-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.genomex-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.genomex-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.genomex-buttons .btn {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.75rem;
    text-align: center;
}

.flex-1 {
    flex: 1;
}

.btn-danger {
    background: #c0392b;
    color: white;
}

.btn-danger:hover {
    background: #a93226;
}

.audio-player {
    width: 100%;
    margin: 0.5rem 0;
}

.genomex-report {
    background: #f8f9fa;
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-header {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.report-gf-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
}

.gf-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.gf-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

.gf-desc {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.gf-prob {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.95;
}

.report-section {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.report-axes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.axis-card {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.axis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.axis-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.axis-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

.axis-bar {
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 0.25rem;
    overflow: hidden;
}

.axis-bar-fill {
    height: 100%;
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

.model-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-card {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.model-icon {
    font-size: 1.25rem;
}

.model-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.model-card-body {
    text-align: right;
}

.model-score {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.model-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.125rem;
}

.report-footer {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.report-warning {
    font-size: 0.875rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.report-note {
    font-size: 0.8125rem;
    color: #78350f;
    line-height: 1.5;
}

.h5-results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.h5-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.5rem;
}

.h5-icon {
    font-size: 1.125rem;
    color: #16a34a;
    font-weight: 700;
}

.h5-name {
    font-size: 0.875rem;
    color: #166534;
    font-weight: 500;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    z-index: 100;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.nav-label {
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1;
}

.nav-btn:hover {
    color: #c6a24d;
}

.nav-btn:active {
    transform: scale(0.95);
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Legacy button styles */
.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
}

/* QR Modal */
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.qr-content {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0.125rem;
    margin: 1rem auto;
    width: fit-content;
}

.qr-cell {
    width: 1rem;
    height: 1rem;
}

.qr-cell.black {
    background: black;
}

.qr-cell.white {
    background: white;
    border: 1px solid #e2e8f0;
}

/* Profile Styles */
.profile-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #faf7f0;
    border-radius: 0.75rem;
    border: 1px solid #e5dcc8;
}

.profile-info-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.profile-info-value {
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 600;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #faf7f0 100%);
    border: 1px solid #e5dcc8;
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.profile-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(198, 162, 77, 0.15);
}

.profile-item-info {
    flex: 1;
}

.profile-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.profile-item-desc {
    font-size: 0.8125rem;
    color: #64748b;
}

.profile-item-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-used {
    background: #dbeafe;
    color: #1e40af;
}

.badge-completed {
    background: #d1fae5;
    color: #065f46;
}

.profile-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Admin & Company Panel Styles */
.admin-panel, .company-panel {
    min-height: 100vh;
    background: linear-gradient(to bottom, white 0%, #faf7f0 100%);
    padding: 1rem;
}

.admin-header, .company-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.admin-header .logo-circle, .company-header .logo-circle {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.admin-header h1, .company-header h1 {
    font-size: 1.4rem;
    color: #c6a24d;
    margin: 0;
    flex: 1;
}

.admin-content, .company-content {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #c6a24d;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.stats-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-card-small {
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-card-small .stat-value {
    font-size: 1.5rem;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #c6a24d;
    border-bottom-color: #c6a24d;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.company-card, .enrollment-card, .discount-usage-card, .discount-card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.company-info h4 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.company-info p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.company-actions, .discount-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.section-card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-card h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.discount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.discount-header h4 {
    font-size: 1rem;
    color: #1f2937;
    margin: 0;
}

.text-muted {
    color: #94a3b8;
    font-size: 0.8125rem;
}

@media (max-width: 375px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-small {
        grid-template-columns: 1fr;
    }
}
/* ===== FULLSCREEN MODAL STYLES (Mobile-First) ===== */
.fullscreen-modal-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fullscreen-modal-header {
    background: linear-gradient(135deg, #c6a24d 0%, #b8933d 100%);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.fullscreen-modal-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: center;
}

.back-button {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.back-button:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.fullscreen-form {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
    padding-bottom: 2rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.625rem;
}

.fullscreen-input,
.fullscreen-textarea,
.fullscreen-select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    color: #1f2937;
    transition: all 0.2s;
    font-family: inherit;
}

.fullscreen-input:focus,
.fullscreen-textarea:focus,
.fullscreen-select:focus {
    outline: none;
    border-color: #c6a24d;
    box-shadow: 0 0 0 3px rgba(198, 162, 77, 0.1);
}

.fullscreen-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.fullscreen-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.percent-input-wrapper {
    position: relative;
}

.percent-symbol {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: #c6a24d;
    pointer-events: none;
}

.percent-input-wrapper input {
    padding-right: 3rem;
}

.image-upload-area {
    width: 100%;
    min-height: 180px;
    border: 2px dashed #c6a24d;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.image-upload-area:active {
    transform: scale(0.98);
    background: #fef3c7;
}

.image-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 180px;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.fullscreen-submit {
    width: 100%;
    padding: 1.125rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fullscreen-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tablet ve Desktop için düzenlemeler */
@media (min-width: 768px) {
    .fullscreen-modal-content {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.1);
    }
}

/* Gazim Akademi Tam Ekran Iframe */
#academy-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    z-index: 99999 !important;
    gap: 0 !important;
}

#academy-screen.hidden {
    display: none !important;
}

#saglik-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    z-index: 99999 !important;
    gap: 0 !important;
}

#saglik-screen.hidden {
    display: none !important;
}

.academy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    flex-shrink: 0;
}

.academy-back-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.academy-back-btn:hover,
.academy-back-btn:active {
    background: rgba(255,255,255,0.3);
}

.academy-title {
    font-size: 1.125rem;
    font-weight: 700;
    flex: 1;
}

.academy-external-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.academy-external-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.academy-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: #f5f5f5;
}

.academy-launch-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a0a1a 100%);
}

.academy-launch-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(220,20,60,0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(220,20,60,0.15);
}

.academy-launch-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.academy-launch-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.academy-launch-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.academy-launch-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.academy-feature-item {
    background: rgba(220,20,60,0.1);
    border: 1px solid rgba(220,20,60,0.25);
    border-radius: 10px;
    padding: 0.6rem 0.5rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.academy-feature-item i {
    color: #DC143C;
}

.academy-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(220,20,60,0.4);
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.academy-launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220,20,60,0.5);
    color: white;
}

.academy-launch-note {
    color: #64748b;
    font-size: 0.78rem;
    margin: 0;
}

.academy-launch-note i {
    color: #22c55e;
}

@media (max-width: 480px) {
    .academy-header {
        padding: 0.5rem 0.75rem;
    }
    
    .academy-back-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .academy-title {
        font-size: 1rem;
    }
}

.academy-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.academy-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 1rem;
}

.academy-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8B0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.academy-error {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Landing Page - Ana Giriş Sayfası */
html.landing-mode,
html.landing-mode body {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #0a0508 !important;
}

html.landing-mode #app {
    max-width: none !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
}

.landing-screen {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    z-index: 9999;
    background: #0a0508;
}

.landing-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}


.landing-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    pointer-events: none;
}

.landing-clickable-areas {
    position: absolute;
    bottom: 7%;
    left: 6%;
    right: 6%;
    height: 23%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.clickable-area {
    width: 11%;
    height: 50%;
    align-self: flex-start;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 10000;
}

.clickable-area:hover,
.clickable-area:active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(198, 162, 77, 0.5);
}

/* Buton pozisyonları - v15 */
.clickable-area:nth-child(1) { margin-left: 11%; }
.clickable-area:nth-child(2) { transform: translateX(5px); }
.clickable-area:nth-child(3) { transform: translateX(5px); }
.clickable-area:nth-child(4) { transform: translateX(3px); }
.clickable-area:nth-child(5) { transform: translateX(0px); }
.clickable-area:nth-child(6) { transform: translateX(-20px); }

/* Kütüphane Sayfası Stilleri */
#kutuphane-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #2d1f3d 100%) !important;
    z-index: 99999 !important;
    overflow: hidden !important;
}

#kutuphane-screen.hidden {
    display: none !important;
}

.kutuphane-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kutuphane-header {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.kutuphane-header .back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kutuphane-header .back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.kutuphane-header h1 {
    color: white;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.kutuphane-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Library Room - Kitaplık Tasarımı */
.library-room {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: 
        linear-gradient(180deg, rgba(139, 90, 43, 0.1) 0%, rgba(101, 67, 33, 0.2) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23654321" opacity="0.05" width="100" height="100"/><rect fill="%238B5A2B" opacity="0.03" x="0" y="0" width="50" height="50"/><rect fill="%238B5A2B" opacity="0.03" x="50" y="50" width="50" height="50"/></svg>');
    background-color: #2a1810;
}

.bookshelf {
    margin-bottom: 25px;
    position: relative;
}

.shelf-label {
    color: #c6a24d;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.books-row {
    display: flex;
    gap: 8px;
    padding: 15px 10px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.books-row::-webkit-scrollbar {
    display: none;
}

.book {
    min-width: 70px;
    height: 100px;
    border-radius: 3px 6px 6px 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 6px;
    text-decoration: none;
    position: relative;
    transform-origin: bottom;
    transition: all 0.3s ease;
    box-shadow: 
        2px 2px 8px rgba(0,0,0,0.4),
        inset -3px 0 8px rgba(0,0,0,0.2),
        inset 3px 0 8px rgba(255,255,255,0.1);
    cursor: pointer;
}

.book::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
    border-radius: 3px 0 0 3px;
}

.book:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 
        4px 8px 15px rgba(0,0,0,0.5),
        inset -3px 0 8px rgba(0,0,0,0.2),
        inset 3px 0 8px rgba(255,255,255,0.1);
}

.book-spine {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 4px 2px;
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
}

.book-title {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.95);
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* Mevzuat Modal - Kitap Stili */
.mevzuat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.mevzuat-modal.hidden {
    display: none !important;
}

.mevzuat-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.mevzuat-modal-content {
    position: relative;
    background: linear-gradient(145deg, #f5e6c8, #e8d4a8);
    border: none;
    border-radius: 4px 12px 12px 4px;
    max-width: 500px;
    width: 95%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        -8px 0 20px rgba(0,0,0,0.4),
        8px 8px 25px rgba(0,0,0,0.5),
        inset 5px 0 15px rgba(139, 90, 43, 0.3);
    animation: bookOpen 0.4s ease;
}

.mevzuat-modal-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25px;
    background: linear-gradient(90deg, 
        #8B4513 0%, 
        #A0522D 30%, 
        #CD853F 50%,
        #A0522D 70%,
        #8B4513 100%);
    border-radius: 4px 0 0 4px;
    box-shadow: inset -3px 0 8px rgba(0,0,0,0.3);
}

@keyframes bookOpen {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-30deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0) scale(1);
    }
}

.mevzuat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px 40px;
    background: transparent;
    border-bottom: 2px solid #8B4513;
}

.mevzuat-modal-header h2 {
    color: #4a2c0a;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.mevzuat-modal-close {
    background: #8B4513;
    border: none;
    color: #f5e6c8;
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.2s;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.mevzuat-modal-close:hover {
    background: #5c2d0e;
    transform: scale(1.1);
}

.mevzuat-modal-body {
    padding: 20px 20px 20px 40px;
    max-height: 45vh;
    overflow-y: auto;
    color: #2c1810;
    font-size: 0.95rem;
    line-height: 1.9;
    font-family: 'Georgia', serif;
    background: linear-gradient(180deg, 
        rgba(245, 230, 200, 0) 0%,
        rgba(232, 212, 168, 0.3) 50%,
        rgba(245, 230, 200, 0) 100%);
}

.mevzuat-modal-body::-webkit-scrollbar {
    width: 8px;
}

.mevzuat-modal-body::-webkit-scrollbar-track {
    background: #e8d4a8;
}

.mevzuat-modal-body::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

.mevzuat-modal-body h3 {
    color: #5c2d0e;
    font-size: 1.05rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed #8B4513;
    font-weight: 700;
}

.mevzuat-modal-body p {
    margin: 0 0 12px 0;
    text-align: justify;
}

.mevzuat-modal-body .highlight {
    background: rgba(139, 69, 19, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    color: #5c2d0e;
    font-weight: 600;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.mevzuat-modal-body strong {
    color: #8B4513;
    font-weight: 700;
}

.mevzuat-modal-footer {
    padding: 15px 20px 20px 40px;
    background: linear-gradient(180deg, transparent, rgba(139, 69, 19, 0.1));
    border-top: 1px solid rgba(139, 69, 19, 0.3);
    display: flex;
    justify-content: center;
}

.madde-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #f5e6c8;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
}

.madde-btn:hover {
    background: linear-gradient(135deg, #5c2d0e, #8B4513);
    transform: translateY(-2px);
    box-shadow: 4px 6px 12px rgba(0,0,0,0.4);
    color: #fff;
}

.madde-btn i {
    font-size: 0.9rem;
}

/* Book Colors */
.book-red { background: linear-gradient(135deg, #8B0000, #DC143C); }
.book-blue { background: linear-gradient(135deg, #1a365d, #2c5282); }
.book-gold { background: linear-gradient(135deg, #92400e, #d97706); }
.book-green { background: linear-gradient(135deg, #14532d, #15803d); }
.book-purple { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.book-orange { background: linear-gradient(135deg, #9a3412, #ea580c); }
.book-teal { background: linear-gradient(135deg, #134e4a, #14b8a6); }
.book-brown { background: linear-gradient(135deg, #57534e, #78716c); }
.book-navy { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }
.book-maroon { background: linear-gradient(135deg, #7f1d1d, #b91c1c); }
.book-olive { background: linear-gradient(135deg, #3f3f00, #65a30d); }
.book-gray { background: linear-gradient(135deg, #374151, #6b7280); }
.book-pink { background: linear-gradient(135deg, #831843, #db2777); }
.book-indigo { background: linear-gradient(135deg, #312e81, #6366f1); }

.shelf-wood {
    height: 12px;
    background: linear-gradient(180deg, #8B5A2B 0%, #654321 50%, #4a3520 100%);
    border-radius: 0 0 4px 4px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.1);
    position: relative;
}

.shelf-wood::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 100%);
}

.mevzuat-category {
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.8), rgba(20, 20, 40, 0.9));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(198, 162, 77, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.category-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.1), rgba(139, 69, 19, 0.1));
    transition: all 0.3s ease;
}

.category-header:hover {
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.2), rgba(139, 69, 19, 0.2));
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(198, 162, 77, 0.3);
}

.category-info {
    flex: 1;
}

.category-info h3 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
}

.category-arrow {
    color: #c6a24d;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.category-header.active .category-arrow {
    transform: rotate(180deg);
}

.category-links {
    display: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
}

.category-links.active {
    display: block;
}

.mevzuat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mevzuat-link:hover {
    background: rgba(198, 162, 77, 0.15);
    padding-left: 25px;
}

.mevzuat-link:last-child {
    border-bottom: none;
}

.mevzuat-link i:first-child {
    color: #c6a24d;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.mevzuat-link span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mevzuat-link i:last-child {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mevzuat-link:hover i:last-child {
    opacity: 1;
}

/* AI Chat Section */
.ai-chat-section {
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.95), rgba(20, 20, 40, 0.98));
    border-top: 2px solid rgba(198, 162, 77, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 350px;
}

.ai-chat-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.15), rgba(139, 69, 19, 0.15));
    border-bottom: 1px solid rgba(198, 162, 77, 0.2);
}

.ai-chat-header i {
    color: #c6a24d;
    font-size: 24px;
}

.ai-chat-header h3 {
    color: #fff;
    margin: 0;
    flex: 1;
    font-size: 1rem;
}

.ai-badge {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 150px;
}

.ai-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
}

.ai-message.bot {
    align-self: flex-start;
}

.ai-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message.bot .message-avatar {
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    color: white;
}

.ai-message.user .message-avatar {
    background: linear-gradient(135deg, #4285f4, #2196f3);
    color: white;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-message.bot .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.ai-message.user .message-content {
    background: linear-gradient(135deg, #4285f4, #2196f3);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.ai-chat-input input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 25px;
    border: 1px solid rgba(198, 162, 77, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input input:focus {
    border-color: #c6a24d;
    box-shadow: 0 0 15px rgba(198, 162, 77, 0.2);
}

.ai-chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ai-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 162, 77, 0.3);
}

.ai-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(198, 162, 77, 0.5);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .kutuphane-header h1 {
        font-size: 1.2rem;
    }
    
    .category-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .category-info h3 {
        font-size: 1rem;
    }
    
    .mevzuat-link span {
        font-size: 0.85rem;
    }
    
    .ai-chat-section {
        max-height: 300px;
    }
}

/* Kahraman Screen - TV Kanalı Stilleri */
#kahraman-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #0a0a0a !important;
    z-index: 99999 !important;
    overflow: hidden !important;
}

#kahraman-screen.hidden {
    display: none !important;
}

.kahraman-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kahraman-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    border-bottom: 2px solid #c6a24d;
}

.kahraman-header .back-btn {
    background: rgba(198, 162, 77, 0.2);
    border: 1px solid #c6a24d;
    color: #c6a24d;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kahraman-header .back-btn:hover {
    background: rgba(198, 162, 77, 0.4);
}

.kahraman-title-area {
    flex: 1;
    text-align: center;
}

.kahraman-title-area h1 {
    color: #c6a24d;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 3px;
    font-weight: 700;
}

.kahraman-slogan {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin: 5px 0 0 0;
    font-style: italic;
}

.admin-video-btn {
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.admin-video-btn:hover {
    transform: scale(1.1);
}

.kahraman-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Featured Video */
.featured-video-section {
    margin-bottom: 30px;
}

.featured-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid rgba(198, 162, 77, 0.3);
}

.featured-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    gap: 10px;
}

.video-placeholder i {
    font-size: 48px;
}

.featured-info {
    padding: 15px 0;
}

.featured-info h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.featured-info p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* Video Gallery */
.video-gallery-section {
    margin-bottom: 30px;
}

.section-title {
    color: #c6a24d;
    font-size: 1rem;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.video-thumb {
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 162, 77, 0.2);
}

.video-thumb:hover {
    transform: translateY(-5px);
    border-color: #c6a24d;
    box-shadow: 0 8px 25px rgba(198, 162, 77, 0.2);
}

.video-thumb-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-thumb-img i {
    color: rgba(255,255,255,0.8);
    font-size: 30px;
}

.video-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-info {
    padding: 10px;
}

.video-thumb-info h4 {
    color: #fff;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Social Links */
.kahraman-social-section {
    margin-bottom: 30px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card i {
    font-size: 28px;
    margin-bottom: 8px;
}

.social-card span {
    font-size: 0.7rem;
    font-weight: 600;
}

.social-card.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.social-card.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-card.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5bba);
    color: white;
}

.social-card.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8ecf);
    color: white;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Inspiring Projects */
.inspiring-projects-section {
    margin-bottom: 30px;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.1), rgba(139, 69, 19, 0.1));
    border: 1px solid rgba(198, 162, 77, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.2), rgba(139, 69, 19, 0.2));
    transform: translateX(5px);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.project-card h4 {
    color: #fff;
    margin: 0 0 3px 0;
    font-size: 0.95rem;
}

.project-card p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.75rem;
}

/* Video Admin Modal */
.video-admin-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.video-admin-modal .form-group {
    margin-bottom: 15px;
}

.video-admin-modal label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-admin-modal input,
.video-admin-modal textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.video-admin-modal textarea {
    resize: vertical;
}

.form-hint {
    color: #888;
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
}

.admin-video-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.admin-video-list h3 {
    color: #333;
    font-size: 1rem;
    margin: 0 0 15px 0;
}

.admin-video-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 10px;
}

.admin-video-item span {
    flex: 1;
    font-size: 0.9rem;
}

.admin-video-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kahraman-title-area h1 {
        font-size: 1.2rem;
    }
    
    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Kahraman Login Modal */
.kahraman-login-modal {
    max-width: 350px;
}

.kahraman-login-modal .form-group {
    margin-bottom: 15px;
}

.kahraman-login-modal label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.kahraman-login-modal input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.error-message {
    color: #dc3545;
    background: #fff5f5;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Kahraman Redesign - Legasee Style */
.kahraman-hero {
    background: linear-gradient(135deg, rgba(198, 162, 77, 0.3), rgba(139, 69, 19, 0.3)),
                url('/static/hero-soldiers.jpg') center/cover no-repeat;
    background-color: #1a1a2e;
    padding: 40px 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kahraman-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.kahraman-hero .hero-text {
    position: relative;
    z-index: 1;
}

.kahraman-hero h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.kahraman-hero p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* Video Archive Grid */
.video-archive-section {
    margin-bottom: 30px;
}

.video-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.empty-archive {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.6), rgba(20, 20, 40, 0.8));
    border-radius: 16px;
    border: 2px dashed rgba(198, 162, 77, 0.3);
}

.empty-archive i {
    font-size: 50px;
    color: rgba(198, 162, 77, 0.5);
    margin-bottom: 15px;
}

.empty-archive p {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.empty-archive span {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Video Card - Legasee Style */
.video-card {
    background: linear-gradient(145deg, #1e1e3c, #16213e);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 162, 77, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: #c6a24d;
    box-shadow: 0 12px 40px rgba(198, 162, 77, 0.2);
}

.video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay i {
    font-size: 60px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.video-card-info {
    padding: 18px;
}

.video-card-info h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-info p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #c6a24d, #8b4513);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-top: 10px;
}

/* Featured Card */
.featured-card {
    background: linear-gradient(145deg, #1e1e3c, #16213e);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #c6a24d;
    box-shadow: 0 8px 30px rgba(198, 162, 77, 0.2);
}

.featured-card .featured-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.featured-card .featured-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.featured-card .featured-info {
    padding: 20px;
}

.featured-card .featured-info h3 {
    color: #fff;
    margin: 0 0 8px 0;
}

.featured-card .featured-info p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Video Player Modal */
.video-player-modal {
    max-width: 900px;
    width: 95%;
    padding: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-player-modal .video-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

#video-player-container {
    width: 100%;
    aspect-ratio: 16/9;
}

#video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#video-player-info {
    padding: 20px;
    background: #1a1a2e;
}

#video-player-info h3 {
    color: #fff;
    margin: 0 0 8px 0;
}

#video-player-info p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

@media (max-width: 600px) {
    .video-archive {
        grid-template-columns: 1fr;
    }
    
    .kahraman-hero h2 {
        font-size: 1.2rem;
    }
}

.hero-slogan {
    color: #c6a24d !important;
    font-size: 1.3rem !important;
    font-style: italic;
    font-weight: 600;
    margin: 10px 0 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Mevzuat Viewer */
.mevzuat-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}

.mevzuat-viewer.hidden {
    display: none;
}

.mevzuat-viewer-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    border-bottom: 2px solid #c6a24d;
}

.mevzuat-viewer-header .back-btn {
    background: rgba(198, 162, 77, 0.2);
    border: 1px solid #c6a24d;
    color: #c6a24d;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.mevzuat-viewer-header h2 {
    flex: 1;
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.external-link-btn {
    background: rgba(198, 162, 77, 0.2);
    border: 1px solid #c6a24d;
    color: #c6a24d;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

#mevzuat-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* ===== DESKTOP/MOBİL GÖRÜNÜRLÜK ===== */
.desktop-only {
    display: flex;
}
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: grid !important;
    }
    .mobile-only.landing-bg {
        display: block !important;
    }
}

/* ===== MASAÜSTÜ HOLOGRAM BUTONLAR ===== */
.buton-izgarasi-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.hologram-buton-desktop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 100px;
    border: 2px solid rgba(0, 234, 255, 0.7);
    border-radius: 15px;
    background: rgba(0, 20, 40, 0.85);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.4), inset 0 0 15px rgba(0, 234, 255, 0.15);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hologram-buton-desktop:hover {
    background: rgba(0, 50, 80, 0.95);
    box-shadow: 0 0 35px rgba(0, 234, 255, 0.7), inset 0 0 20px rgba(0, 234, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(0, 234, 255, 1);
}

.hologram-buton-desktop .ikon-kutusu {
    font-size: 28px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.hologram-buton-desktop .buton-metni {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== LANDING PAGE LOGO ===== */
.landing-logo {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.landing-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .landing-logo {
        top: 9%;
    }
    .landing-logo img {
        width: 100px;
        height: 100px;
    }
}

/* ===== DESKTOP 6 LOGO YERLEŞİMİ ===== */
.desktop-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.desktop-logos img {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* 1. En büyük logo - Ana kubbenin tepesi */
.logo-kubbe-tepe {
    width: 100px;
    height: 100px;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
}

/* 2. İkinci büyük logo - Dijital Otağımız yazısının altı */
.logo-yazi-alti {
    width: 55px;
    height: 55px;
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
}

/* 3-6. Küçük logolar - 4 küçük çadır kapısı */
.logo-cadir {
    width: 35px;
    height: 35px;
}

/* 1. En Sol Arka */
.logo-cadir-1 {
    top: 60%;
    left: 3.2%;
    width: 3vw;
    height: 3vw;
}

/* 2. Sol İç/Ön */
.logo-cadir-2 {
    top: 64%;
    left: 10%;
    width: 4vw;
    height: 4vw;
}

/* 3. Sağ İç/Ön */
.logo-cadir-3 {
    top: 65%;
    left: 85%;
    width: 4vw;
    height: 4vw;
}

/* 4. En Sağ Arka */
.logo-cadir-4 {
    top: 60%;
    left: 94%;
    width: 3vw;
    height: 3vw;
}

/* ===== MOBİL HOLOGRAM BUTONLAR ===== */
.buton-izgarasi {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px 6px;
    position: fixed;
    bottom: calc(44px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1002;
}

.hologram-buton {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    min-height: 58px;
    border: 1.5px solid rgba(0, 234, 255, 0.7);
    border-radius: 10px;
    background: rgba(0, 20, 40, 0.85);
    box-shadow: 0 0 12px rgba(0, 234, 255, 0.4), inset 0 0 8px rgba(0, 234, 255, 0.15);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hologram-buton:hover,
.hologram-buton:active {
    background: rgba(0, 40, 60, 0.9);
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.6), inset 0 0 15px rgba(0, 234, 255, 0.25);
    transform: scale(1.02);
}

.ikon-kutusu {
    font-size: 20px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 24px;
}
.ikon-kutusu i {
    font-size: 18px;
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}
.hologram-buton-desktop .ikon-kutusu i {
    font-size: 26px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(0, 234, 255, 0.6));
}

/* Hakkımızda Sayfası */
.hakkimizda-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}
.hakkimizda-section:last-of-type {
    border-bottom: none;
}
.hakkimizda-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b0000, #c41e3a);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.hakkimizda-section p {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.onursal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.onursal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #c41e3a;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
}
.onursal-item i {
    color: #c41e3a;
    font-size: 13px;
    min-width: 14px;
}

.buton-metni {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 480px ve altı ekranlar */
@media (max-width: 480px) {
    .buton-izgarasi {
        gap: 4px;
        padding: 4px 5px;
        bottom: 44px;
    }
    .hologram-buton {
        min-height: 54px;
        padding: 7px 3px;
        border-radius: 8px;
    }
    .ikon-kutusu {
        height: 20px;
        margin-bottom: 3px;
    }
    .ikon-kutusu i {
        font-size: 16px;
    }
    .buton-metni {
        font-size: 8px;
        letter-spacing: 0.3px;
    }
}

/* 360px ve altı çok küçük ekranlar */
@media (max-width: 360px) {
    .buton-izgarasi {
        gap: 3px;
        padding: 3px 4px;
    }
    .hologram-buton {
        min-height: 50px;
        padding: 6px 2px;
    }
    .ikon-kutusu i {
        font-size: 14px;
    }
    .buton-metni {
        font-size: 7px;
        letter-spacing: 0.2px;
    }
}

/* Yatay (Landscape) mobil */
@media (max-width: 900px) and (orientation: landscape) {
    .buton-izgarasi {
        display: none !important;
    }
    .buton-izgarasi-desktop {
        display: flex !important;
        position: fixed !important;
        bottom: 44px;
        gap: 8px;
    }
    .hologram-buton-desktop {
        width: 85px;
        height: 72px;
    }
    .hologram-buton-desktop .ikon-kutusu {
        height: 26px;
    }
    .hologram-buton-desktop .ikon-kutusu i {
        font-size: 18px;
    }
    .hologram-buton-desktop .buton-metni {
        font-size: 8px;
    }
}

/* Breaking News Banner */
.breaking-news-banner {
    margin-top: 1.5rem;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.breaking-news-label {
    background: #fff;
    color: #c41e3a;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.75rem;
    white-space: nowrap;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.breaking-news-ticker {
    flex: 1;
    overflow: hidden;
    padding: 0.5rem 1rem;
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 15s linear infinite;
    color: white;
    font-size: 0.85rem;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Landing Page Breaking News */
.landing-breaking-news {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    display: flex;
    align-items: center;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-radius: 0;
    height: 44px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.breaking-label {
    background: #fff;
    color: #c41e3a;
    padding: 0 16px;
    height: 44px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    animation: labelPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes labelPulse {
    0%, 100% { background: #fff; }
    50% { background: #ffe0e0; }
}
.breaking-scroll {
    flex: 1;
    overflow: hidden;
    height: 44px;
    display: flex;
    align-items: center;
}
.breaking-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 18s linear infinite;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 0 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@keyframes scrollText {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}
