/* ==========================================================================
   TerfiGYS - Ana Sayfa Modüler Stilleri (assets/css/pages/home.css)
   ========================================================================== */

/* Kayıt Kapalı Uyarısı & Diğer Kurumlar Bildirimi (Task H10) */
.gd-reg-closed-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.gd-reg-closed-alert > svg {
    flex-shrink: 0;
    display: inline-block;
}

.gd-reg-closed-alert-title {
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
}

.gd-other-inst-notice {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: opacity 0.3s ease;
}

.gd-other-inst-notice-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.gd-other-inst-notice-close:hover {
    color: #334155;
}

.gd-other-inst-notice-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gd-other-inst-notice-inner > svg {
    flex-shrink: 0;
    display: inline-block;
    margin-top: 2px;
}

.gd-other-inst-notice-content {
    padding-right: 30px;
}

.gd-other-inst-notice-title {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
}

.gd-other-inst-notice-text {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.gd-other-inst-notice-badge {
    font-size: 0.85rem;
    color: #ffffff;
    background: #059669;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
    letter-spacing: 0.01em;
}

.gd-other-inst-notice-badge > svg {
    flex-shrink: 0;
    color: #ffffff;
}

/* User Performance Ribbon & Badges */
.user-perf-ribbon {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.perf-item {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.perf-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #1d4ed8;
}

.perf-item i {
    font-size: 24px;
    padding: 12px;
    border-radius: 12px;
}

.perf-item.positive {
    border-bottom: 4px solid #10b981;
}

.perf-item.positive i {
    color: #10b981;
    background: #ecfdf5;
}

.perf-item.attention {
    border-bottom: 4px solid #f59e0b;
}

.perf-item.attention i {
    color: #f59e0b;
    background: #fffbe6;
}

.card-perf-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-perf-badge.best {
    background: #10b981;
    color: #fff;
}

.card-perf-badge.worst {
    background: #f59e0b;
    color: #fff;
}

.card-perf-badge.normal {
    background: #f1f5f9;
    color: #475569;
}

.category-card {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.category-card.highlight-worst {
    border: 2px solid #fbbf24;
    background: #fffcf0;
}

.category-card.highlight-best {
    border: 2px solid #34d399;
}

.category-card.highlight-completed {
    border: 2px solid #059669;
    background: #ecfdf5;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
}

.personal-progress-bar {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.personal-progress-fill {
    height: 100%;
    background: #1d4ed8;
    transition: width 0.5s ease;
}

.v6-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0.2;
}

.v6-best {
    color: #10b981;
    opacity: 0.8;
}

.v6-worst {
    color: #f59e0b;
    opacity: 0.8;
}

.v8-best .btn-solve {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.v8-worst .btn-solve {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
}

.v10-circle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border: 3px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    color: #475569;
}

.v10-best {
    border-top-color: #10b981 !important;
}

.v10-worst {
    border-top-color: #f59e0b !important;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
}

.mockup-label {
    font-size: 11px;
    background: #0f172a;
    color: #fff;
    padding: 2px 10px;
    border-radius: 99px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    white-space: nowrap;
}

/* Interactive Turkey Map & Live Activity Logs Styles */
.live-activity-section {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 30px !important;
    margin-bottom: 50px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 24px !important;
    padding: 30px !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
}

.live-activity-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
}

.live-activity-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .live-activity-section {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px !important;
    }
}

.live-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 6px 20px 6px 10px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
}

.live-avatar-stack {
    display: inline-flex;
    align-items: center;
}

.live-avatar-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    background: #f1f5f9;
    transition: opacity 0.4s ease, transform 0.4s ease, margin-left 0.4s ease, width 0.4s ease;
}

.live-avatar-img.entering {
    opacity: 0;
    transform: scale(0.2) translateY(-10px);
}

.live-avatar-img.exiting {
    opacity: 0;
    transform: scale(0.2) translateY(10px);
}

.live-avatar-img:first-child {
    margin-left: 0;
}

.live-avatar-img:hover {
    transform: translateY(-2px) scale(1.15);
    z-index: 5;
}

.live-pulse-ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(132, 204, 22, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.live-pulse-ring::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #84cc16;
    box-shadow: 0 0 8px #84cc16;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(132, 204, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.live-active-text {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
}

.live-active-text strong,
.live-active-text #live-online-count {
    color: #0f172a;
    font-weight: 900;
}

.turkey-svg-container {
    width: 100%;
    height: auto;
    position: relative;
}

.turkey-svg-container svg {
    width: 100%;
    height: auto;
}

.turkey-svg-container svg g.turkey g {
    cursor: pointer;
}

.turkey-svg-container svg g.turkey g path {
    fill: #f1f5f9 !important;
    stroke: #cbd5e1 !important;
    stroke-width: 1;
    transition: fill 0.25s ease, filter 0.25s ease;
}

.turkey-svg-container svg g.turkey g:hover path {
    fill: #3b82f6 !important;
    filter: drop-shadow(0px 4px 8px rgba(59, 130, 246, 0.3));
}

.turkey-svg-container svg g.turkey g.active-city path {
    fill: #1d4ed8 !important;
    filter: drop-shadow(0px 4px 10px rgba(29, 78, 216, 0.4));
}

.turkey-svg-container svg g.turkey g.has-activity path {
    fill: #dbeafe !important;
    stroke: #93c5fd !important;
}

#map-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: opacity 0.15s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.live-feed-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.live-feed-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.live-feed-title span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-feed-title i.fa-bolt {
    color: #f59e0b;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.live-feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 215px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-right: 4px;
}

.live-feed-list::-webkit-scrollbar {
    width: 4px;
}

.live-feed-list::-webkit-scrollbar-track {
    background: transparent;
}

.live-feed-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.live-feed-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.live-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    color: #334155;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    animation: slideIn 0.3s ease;
}

.live-feed-item:hover {
    background: #f1f5f9;
    transform: translateX(2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.feed-user-name {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-user-meta {
    font-size: 10.5px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    text-align: right;
}

.feed-action-text {
    font-size: 11.5px;
    background: #eff6ff;
    color: #1e40af;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-align: right;
}

.feed-time {
    font-size: 10.5px;
    color: #475569;
    white-space: nowrap;
}

.map-filter-active-info {
    font-size: 11px;
    color: #1d4ed8;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: none;
}

.map-filter-active-info:hover {
    background: #dbeafe;
}

/* Premium Hero Ticker Styles */
.hero-ticker-container {
    height: 1.25em;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    text-align: left;
    min-width: 310px;
    margin-right: 8px;
}

.hero-ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: heroTickerSlide 10s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.hero-ticker-item {
    height: 1.25em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    color: inherit;
    font-weight: 800;
}

@keyframes heroTickerSlide {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-1.25em); }
    66%, 96% { transform: translateY(-2.5em); }
    100% { transform: translateY(-3.75em); }
}

@media (max-width: 1024px) {
    .hero-ticker-container {
        min-width: 250px;
        text-align: center !important;
        margin: 0 auto 5px !important;
        display: block !important;
    }
    .hero-ticker-item {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .hero-ticker-container {
        display: block;
        margin: 0 auto 5px;
        text-align: center;
        min-width: auto;
    }
}

@keyframes infoVerticalTicker {
    0% { transform: translateY(0); }
    15% { transform: translateY(0); }
    25% { transform: translateY(-120px); }
    40% { transform: translateY(-120px); }
    50% { transform: translateY(-240px); }
    65% { transform: translateY(-240px); }
    75% { transform: translateY(-360px); }
    90% { transform: translateY(-360px); }
    100% { transform: translateY(-480px); }
}

.info-slider-track:hover {
    animation-play-state: paused !important;
}

.success-ribbon {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

.ribbon-item strong {
    color: #0f172a;
    font-weight: 800;
    font-size: 16px;
}

.home-testimonials {
    margin: 40px 0;
    padding: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #eff6ff;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 40px;
    height: 40px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.author-title {
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 640px) {
    .success-ribbon {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
}

.ann-side-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.stat-card {
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    border: none;
    transition: transform 0.2s;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card.blue { background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%); }
.stat-card.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.stat-card.orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.stat-icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.stat-info { flex: 1; z-index: 1; }

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.stat-card::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.95) 0%, rgba(30, 58, 138, 0.98) 100%);
    z-index: -1;
}

.ann-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-dot {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: #fff;
    color: #1d4ed8;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ann-hero-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ann-hero-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.ann-hero-btn {
    background: #fff;
    color: #1d4ed8;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.ann-side-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ann-mini-item {
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.ann-mini-item:hover {
    border-color: #1d4ed8;
    background: #fff;
}

.ann-mini-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sidebar-layout-container #main-content {
        padding: 0 !important;
    }
    
    .grad-border-header {
        border-radius: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ann-layout-v3 {
        grid-template-columns: 1fr;
    }

    .grad-content-header {
        text-align: center;
    }

    .grad-content-header>div {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .grad-content-header h2,
    .grad-content-header a {
        justify-content: center !important;
    }

    .grad-content-header > div.topics-header-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
    .grad-content-header > div.topics-header-row > div:first-child {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .grad-content-header > div.topics-header-row h2,
    .grad-content-header > div.topics-header-row p {
        text-align: left !important;
    }
    .grad-content-header > div.topics-header-row h2 {
        justify-content: flex-start !important;
    }
}

.grad-border-header {
    position: relative;
    background: linear-gradient(45deg, #1e8449, #6366f1, #f59e0b, #e11d48);
    background-size: 400% 400%;
    animation: gradShift 10s ease infinite;
    padding: 2px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none !important;
    overflow: visible;
}

@keyframes gradShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.grad-content-header {
    background: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    border: none !important;
}

.hero-right-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero-grid-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    color: #fff;
    flex: 1;
    min-width: 160px;
}

.hero-grid-box:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-grid-info { flex: 1; }

.hero-grid-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-grid-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.hero-grid-placeholder {
    opacity: 0.4;
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 960px) {
    .hero-right-grid { max-width: 100%; }
}

.premium-hero {
    position: relative;
    background: radial-gradient(circle at top left, #93c5fd, #60a5fa 50%, #2563eb 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    filter: blur(100px);
    top: -150px;
    right: -100px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-text-area { position: relative; z-index: 2; }

.hero-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-main {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-premium-hero {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-premium-hero.primary {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-premium-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

.btn-premium-hero.outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-premium-hero.outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.hero-stats-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

.glass-card-stat {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px;
    border-radius: 22px;
    transition: all 0.3s ease;
}

.glass-card-stat:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.glass-card-icon {
    font-size: 20px;
    margin-bottom: 12px;
    color: #60a5fa;
}

.glass-card-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glass-card-value {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0;
}

.premium-countdown-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 20px;
}

.premium-countdown-icon {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.premium-countdown-text {
    font-size: 14px;
    font-weight: 700;
    color: #fecaca;
}

@media (max-width: 1024px) {
    .premium-hero {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }

    .hero-title-main { font-size: 34px; }

    .hero-subtitle-main {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group { justify-content: center; }

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

#home-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-bottom: 0px;
    padding: 10px 5px 30px 5px;
    align-items: stretch;
}

.info-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #1d4ed8;
}

.info-box>i {
    font-size: 32px;
    color: #60a5fa;
    background: #f8fafc;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: all 0.3s;
}

.info-box:hover>i {
    background: #1d4ed8;
    color: #fff;
    transform: rotate(10deg);
}

.info-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    #home-info-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    body section#home-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .info-box { padding: 20px 15px !important; }
    .info-box h3 { font-size: 15px !important; }
    .info-box p { font-size: 12px !important; }
    .info-box > div { font-size: 11.5px !important; }
    .info-slider-container { height: 180px !important; }
    .info-slide { height: 180px !important; }
}

.info-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 140px;
}

.testimonial-slide-track-v7 {
    display: flex !important;
    flex-direction: column !important;
    animation: testimonialVerticalV7 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-slide-track-v7 {
    display: flex !important;
    flex-direction: column !important;
    animation: faqVerticalTickerV7 20s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.info-slide-base-v7 {
    height: 140px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 5px !important;
    position: relative !important;
    overflow: visible !important;
}

.testimonial-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.testimonial-author-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #2563eb;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.2);
}

.testimonial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.testimonial-author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.slide-unvan-badge {
    font-size: 11px;
    color: #1e293b;
    font-weight: 600;
    background: #f1f5f9;
    padding: 1px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.testimonial-comment-text {
    font-size: 12px;
    color: #334155;
    font-style: italic;
    margin: 4px 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-slide-v7 {
    height: 120px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 15px !important;
    text-align: left !important;
    position: relative !important;
}

@media (max-width: 1024px) {
    .info-slider-container { height: 180px !important; }
    .info-slide-base-v7 { height: 180px !important; }
    .faq-slide-v7 { height: 180px !important; }
    
    .testimonial-slide-track-v7 { animation-name: testimonialVerticalV7Mobile !important; }
    .faq-slide-track-v7 { animation-name: faqVerticalTickerV7Mobile !important; }
}

@media (max-width: 768px) {
    #home-info-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    #home-info-grid .info-box {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 600px) {
    body section#home-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    #home-info-grid .info-box { padding: 15px 10px !important; }
    #home-info-grid .info-box h3 { font-size: 13px !important; }
    #home-info-grid .info-box > i {
        font-size: 24px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }
    .info-slider-container { height: 180px !important; }
    .info-slide-base-v7 { height: 180px !important; }
}

@keyframes testimonialVerticalV7 {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-140px); }
    66%, 96% { transform: translateY(-280px); }
    100% { transform: translateY(0); }
}

@keyframes faqVerticalTickerV7 {
    0%, 18% { transform: translateY(0); }
    20%, 38% { transform: translateY(-120px); }
    40%, 58% { transform: translateY(-240px); }
    60%, 78% { transform: translateY(-360px); }
    80%, 98% { transform: translateY(-480px); }
    100% { transform: translateY(-480px); }
}

@keyframes testimonialVerticalV7Mobile {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-180px); }
    66%, 96% { transform: translateY(-360px); }
    100% { transform: translateY(0); }
}

@keyframes faqVerticalTickerV7Mobile {
    0%, 18% { transform: translateY(0); }
    20%, 38% { transform: translateY(-200px); }
    40%, 58% { transform: translateY(-400px); }
    60%, 78% { transform: translateY(-600px); }
    80%, 98% { transform: translateY(-800px); }
    100% { transform: translateY(-800px); }
}

.info-slide p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.slide-author {
    font-size: 11px;
    font-weight: 800;
    color: #1d4ed8;
    margin-top: 8px;
}

.slide-title {
    font-size: 10px;
    color: #64748b;
}

@keyframes verticalTestimonial {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-140px); }
    66%, 96% { transform: translateY(-280px); }
    100% { transform: translateY(0); }
}

@keyframes infoVerticalTicker {
    0%, 18% { transform: translateY(0); }
    20%, 38% { transform: translateY(-120px); }
    40%, 58% { transform: translateY(-240px); }
    60%, 78% { transform: translateY(-360px); }
    80%, 98% { transform: translateY(-480px); }
    100% { transform: translateY(-480px); }
}

@media (max-width: 640px) {
    @keyframes infoVerticalTicker {
        0%, 18% { transform: translateY(0); }
        20%, 38% { transform: translateY(-160px); }
        40%, 58% { transform: translateY(-320px); }
        60%, 78% { transform: translateY(-480px); }
        80%, 98% { transform: translateY(-640px); }
        100% { transform: translateY(-640px); }
    }
}

/* Konular & Mevzuat 4'lü Grid Yapısı */
.category-grid-v3 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding-bottom: 40px;
}

@media (max-width: 1200px) {
    .category-grid-v3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .category-grid-v3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .category-grid-v3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Kayan Slider - Görsel Hazırlanıyor Placeholder */
.v7-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 8px;
    box-sizing: border-box;
}

.v7-placeholder-text {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    line-height: 1.2;
    text-align: center;
}

/* Konular & Mevzuat — kart gövdesi link reset */
#homeTopicGrid .gd-mev-card { display: flex; flex-direction: column; }
#homeTopicGrid a.gd-mev-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    color: inherit;
    text-decoration: none;
}
#homeTopicGrid a.gd-mev-card-body:hover .gd-mev-card-title {
    color: #2563eb;
}
