@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-blue: #e0ecef;
    --box-blue-header: #2185d0;
    --box-blue-body: #d9edf7;
    --box-green-header: #7dbe43;
    --box-green-body: #ebf5e1;
    --box-orange-header: #ffa600;
    --text-maroon: #802a2a;
    --text-blue: #2a7dbb;
    --text-dark: #333;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background: url('../../bg.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    /* Hide scrollbar visually but maintain scroll functionality */
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar,
html::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.pano-container {
    width: 100vw;
    min-height: 100vh;
    padding: 1.5vh 1.5vw;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 2vh;
}

/* --- Header --- */
.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 13vh;
    flex-shrink: 0;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 1.5vw;
}

.logo-img {
    height: 10vh;
    width: auto;
}

.site-title {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    font-weight: 800;
    color: #4ebedb;
    text-shadow: 1px 1px 0px #fff;
    margin: 0;
}

/* Pano başlığı - üst düzey yazı efekti */
.pano-baslik-efekt {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em;
    text-shadow: none;
    position: relative;
    background: linear-gradient(135deg, currentColor 0%, currentColor 50%, rgba(255,255,255,0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}
.pano-baslik-efekt:hover {
    text-shadow: none;
}
/* Renk kullanıldığında gradient devre dışı - düz renk kalsın */
h1.site-title.pano-baslik-efekt {
    -webkit-text-fill-color: inherit;
    background: none;
}

/* Ayın Öğrencisi widget – temiz kart tasarımı */
.ayin-ogrencisi-widget {
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 40%, #3b82f6 100%);
    color: #fff;
    border-radius: 0 0 30px 30px;
}
.ayin-ogrencisi-foto-wrap {
    position: relative;
    margin-bottom: 1rem;
}
.ayin-ogrencisi-foto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.2);
}
.ayin-ogrencisi-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid #fff;
}
.ayin-ogrencisi-isim {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    margin: 0 0 0.5rem 0;
}
.ayin-ogrencisi-neden {
    max-width: 90%;
    margin: 0;
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .ayin-ogrencisi-foto { width: 160px; height: 160px; }
    .ayin-ogrencisi-isim { font-size: 1.2rem; }
}

/* YILDIZ Aile widget – kart tasarımı */
.yildiz-aile-widget {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    border-radius: 0 0 30px 30px;
}
.yildiz-aile-avatar-wrap {
    margin-bottom: 0.75rem;
}
.yildiz-aile-foto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #facc15;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35), 0 0 0 1px rgba(251,191,36,0.3);
}
.yildiz-aile-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 3rem;
}
.yildiz-aile-isim {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}
.yildiz-aile-unvan {
    font-size: 0.85rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
    .yildiz-aile-foto, .yildiz-aile-placeholder { width: 140px; height: 140px; font-size: 2rem; }
    .yildiz-aile-isim { font-size: 1rem; }
}

/* Pano başlığı – daktilo: imleç (blok stil, yanıp sönen), boşluk korunur */
#pano-baslik {
    min-height: 1.2em;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    white-space: pre-wrap;
}
.pano-baslik-space { min-width: 0.25em; }
.pano-baslik-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 2px;
    vertical-align: middle;
    background: currentColor;
    border-radius: 1px;
    animation: panoCursorBlink 0.75s step-end infinite;
}
@keyframes panoCursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}
/* Harf harf – hafif yukarı kayma (parıltı kaldırıldı) */
.pano-baslik-char {
    display: inline;
    animation: panoCharIn 0.25s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    text-shadow: none;
    opacity: 0;
}
@keyframes panoCharIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Beslenme menüsü widget – yeni sade tasarım */
.beslenme-widget {
    background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 35%, #a7f3d0 100%);
    border-radius: 0 0 30px 30px;
}
.beslenme-widget-inner {
    gap: 1rem;
}
.beslenme-card {
    background: #fff;
    border-radius: 20px;
    padding: 1rem 1.35rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12);
    border-left: 5px solid #10b981;
    text-align: left;
}
.beslenme-card-oglen {
    border-left-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}
.beslenme-card-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #059669;
    margin-bottom: 0.4rem;
}
.beslenme-card-oglen .beslenme-card-label { color: #d97706; }
.beslenme-card-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}
@media (max-width: 768px) {
    .beslenme-card { padding: 0.9rem 1.1rem; }
    .beslenme-card-text { font-size: 0.95rem; }
}

/* Doğum günleri widget – sade ve şık */
.dogum-gunleri-widget {
    background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 50%, #8b5cf6 100%);
    border-radius: 0 0 30px 30px;
}
.dogum-gunleri-inner { color: #fff; text-align: center; }
.dogum-gunleri-baslik {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.dogum-gunleri-alt {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0 0 1rem 0;
}
.dogum-gunleri-isimler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}
.dogum-gunleri-pill {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.dogum-gunleri-bos {
    background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 100%);
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    border-radius: 0 0 30px 30px;
}

.clock-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 10;
    margin-right: 2vw;
    /* Slide slightly to the left */
}

.day-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #007bb5;
    text-transform: uppercase;
}

.time-box {
    background: #4ebedb;
    border-radius: 15px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.calendar-icon-img {
    width: 40px;
    height: auto;
}

.time-text {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

/* --- Main Layout --- */
.main-content {
    flex: 1;
    display: flex;
    gap: 1.5vw;
    margin: 1.5vh 0;
    align-items: stretch;
    min-height: calc(100vh - 21vh);
}

.side-panel {
    display: none;
}

.video-center-panel {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    min-height: 0;
}

.video-panel {
    flex: 1;
    /* Mevcut boşluğu kaplar */
    background: #a5e1f0;
    border: 15px solid #a5e1f0;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 40vh;
    /* Reduced from 48vh for a more compact look */
}

.video-container {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.rotation-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.info-panel {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    /* Reduced gap significantly between main boxes */
    padding-top: 1vh;
    min-width: 0;
    overflow-x: hidden;
}

/* --- Box Styles --- */
.info-box {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box-header {
    color: white;
    padding: 1.2vh;
    text-align: center;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.info-box-header .widget-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 0;
    filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.1));
}

.info-box-body {
    padding: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 18vh;
    /* Reduced from 22vh */
    contain: layout;
}

/* Sol Panel kutuları (Nöbetçi) */
.nobetci-box {
    overflow: visible !important;
}

.nobetci-box .info-box-header {
    background: #1a6bbd;
    height: 6vh;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 40px 40px 0 0;
}

.nobetci-box .info-box-body {
    background: #d1e8ef;
    padding: 1vh 2vh;
    min-height: 12vh;
    border-radius: 0 0 40px 40px;
}

.nobetci-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.nobetci-item {
    text-align: center;
}

.nobetci-label {
    font-weight: 900;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2px;
}

.nobetci-name {
    font-weight: 600;
    font-size: 1.3rem;
    color: #1a6bbd;
    line-height: 1.1;
}

/* Menü kutuları */
.menu-box {
    display: flex;
    flex-direction: column;
    margin-top: 1vh;
    flex: 1;
    /* Allow it to take up available vertical space between top and bottom widgets */
    min-height: 0;
    min-width: 0;
    /* Prevent inner content from forcing growth */
    overflow: hidden;
}

.menu-box .info-box-header {
    background: #7dbe43;
    height: 6.5vh;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px 0 95px;
    border-radius: 40px 40px 0 0;
}

.menu-box .info-box-body {
    background: #e8f4d9;
    gap: 1.5vh;
    padding: 3vh 2vh 1.5vh 2vh;
    min-height: 24vh;
    border-radius: 0 0 40px 40px;
}

.menu-inner-box {
    background: white;
    border-radius: 20px;
    padding: 1vh 1.5vw;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #d4e5be;
}

.menu-label {
    font-weight: 900;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 2px;
}

.menu-item {
    color: #802a2a;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
}

/* Bottom Widgets */
.bottom-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
    margin-top: auto;
    /* Push to the bottom naturally without overlapping */
    padding-top: 1vh;
}

.widget-box {
    border-radius: 30px;
    overflow: visible;
    /* İkonların taşması için */
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.widget-header {
    height: 6vh;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5vw;
}

.exit-box .widget-header {
    background: linear-gradient(to right, #f8d384, #fcae4c);
    padding-left: 60px;
}

.weather-widget .widget-header {
    background: #2185d0;
    border-bottom: 2px solid #1a6bbd;
    padding-left: 60px;
}

.widget-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: #000;
    white-space: nowrap;
}

.weather-widget .widget-title {
    color: #fff;
}

.widget-icon {
    position: absolute;
    left: 2px;
    top: -20px;
    width: 85px;
    height: auto;
    filter: drop-shadow(3px 5px 8px rgba(0, 0, 0, 0.15));
    z-index: 30;
}

.widget-body {
    padding: 2vh;
    border-radius: 0 0 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 15vh;
}

.exit-box .widget-body {
    background: #fdf4e3;
}

.weather-widget .widget-body {
    background: #d1e8ef;
    position: relative;
}

.countdown-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: #38021c;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
}

.temp-text {
    font-size: 6rem;
    font-weight: 900;
    color: #213c6b;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.degree-symbol {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-left: 0.1rem;
}

/* --- Marquee Under Video --- */
.video-marquee-area {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    height: 10vh;
    flex-shrink: 0;
    margin-bottom: 2vh;
}

.marquee-icon-box {
    background: #4a90e2;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
}

.marquee-icon-box img {
    width: 60px;
    height: auto;
}

.marquee-pill {
    flex: 1;
    background: #a5e1f0;
    height: 9vh;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding-left: 90px;
    padding-right: 40px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

marquee {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
}


/* --- Responsive --- */
/* --- Responsive Optimizations --- */

/* Büyük Ekranlar (TV / 4K / 1080p) */
@media (min-width: 1921px) {
    html {
        font-size: 22px;
    }
}

/* Tablet ve Küçük Masaüstü (1024px altı) */
@media (max-width: 1100px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .pano-container {
        height: auto;
        overflow: visible;
        padding: 20px;
    }

    .header-area {
        height: auto;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .main-content {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .video-center-panel {
        order: 1;
        flex: none;
        width: 100%;
    }

    .video-panel {
        height: 450px;
        flex: none;
    }

    .info-panel {
        order: 2;
        flex: none;
        width: 100%;
        padding-top: 0;
        gap: 25px;
    }

    .bottom-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobil Cihazlar (768px altı) */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
    }

    .time-text {
        font-size: 2.5rem;
    }

    .video-panel {
        height: 250px;
        border-width: 8px;
    }

    .video-marquee-area {
        height: auto;
        margin-top: 10px;
    }

    .marquee-pill {
        height: 60px;
        padding-left: 65px;
    }

    .marquee-icon-box {
        width: 60px;
        height: 60px;
    }

    .marquee-icon-box img {
        width: 40px;
    }

    marquee {
        font-size: 1.2rem;
    }

    .bottom-widgets {
        grid-template-columns: 1fr;
    }

    .temp-text {
        font-size: 4rem;
    }

    .nobetci-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Glassmorphism Shorts Galerisi */
.shorts-gallery {
    margin-top: 3vh;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    margin-bottom: 30px;
}

.gallery-title {
    color: #007bb5;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-title::before {
    content: "";
    display: block;
    width: 8px;
    height: 35px;
    background: #4ebedb;
    border-radius: 4px;
}

.shorts-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.shorts-card {
    position: relative;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.shorts-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4ebedb;
}

.shorts-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.shorts-wrapper iframe {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
}

/* Responsive */
@media (max-width: 1400px) {
    .shorts-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .shorts-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shorts-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .shorts-container {
        grid-template-columns: 1fr;
    }
}

/* Blog & Duyuru Alanı (Glassmorphism) */
.info-footer-area {
    margin-top: 5vh;
    padding-bottom: 50px;
}

.glass-section {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 35px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    height: 100%;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.glass-title {
    color: #213c6b;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-title i {
    color: #4ebedb;
}

/* Duyuru Tasarımı */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.announcement-item {
    background: rgba(255, 255, 255, 0.4);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.announcement-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.6);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.announcement-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    background: #7dbe43;
    color: white;
}

.announcement-item.onemli .announcement-badge {
    background: #ff4757;
}

.announcement-item.etkinlik .announcement-badge {
    background: #3742fa;
}

.announcement-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.announcement-topic {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.announcement-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Blog Kartı Tasarımı */
/* --- Birthday Widget Premium Design v2 --- */
.birthday-card {
    background: linear-gradient(135deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%);
    border-radius: 24px;
    padding: 25px;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(120, 75, 160, 0.3);
    animation: premiumFloat 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.birthday-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 10s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes premiumFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.birthday-title {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.birthday-names {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.birthday-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 15px 40px;
    border-radius: 60px;
    font-weight: 900;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 95%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.birthday-badge:hover {
    transform: scale(1.05);
}

/* Event List Styling */
.event-list-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
}

.event-item {
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.event-item::before {
    content: '✦';
    margin-right: 10px;
    color: var(--accent);
    font-size: 1.2rem;
}

.event-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.blog-card {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #95a5a6;
    font-weight: 600;
}

.blog-date i {
    margin-right: 5px;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .info-footer-area .row {
        flex-direction: column;
    }
}

/* Glassmorphism Modal */
.glass-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    /* JS ile açılacak */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-modal-overlay.active {
    opacity: 1;
}

.glass-modal-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    padding: 60px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    display: block;
}

.modal-premium-card {
    /* Solid beyaz arka planı kaldırıyoruz, direkt glass container içinde kalacak */
    width: 100%;
    height: auto;
    position: relative;
    color: #111;
    /* Yazıların okunabilirliği için koyu renk */
}

.modal-card-divider {
    height: 4px;
    width: 60px;
    background: #111;
    border-radius: 2px;
    margin-bottom: 30px;
    opacity: 0.3;
}

.glass-modal-overlay.active .glass-modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.modal-close:hover {
    background: #ff4757;
    color: white;
    transform: rotate(90deg);
}

.modal-header-info {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #0b1526;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.modal-text {
    font-size: 1.25rem;
    color: #1e293b;
    line-height: 1.8;
    font-weight: 500;
}

/* Modal Scrollbar */
.glass-modal-container::-webkit-scrollbar {
    width: 8px;
}

.glass-modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.glass-modal-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* --- Premium 7 Features Styles --- */

.premium-features-area {
    margin: 2vh 0;
}

.widget-premium-label {
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.premium-widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.activity-container-new {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.activity-row {
    background: rgba(255, 255, 255, 0.4);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.activity-row:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.activity-day-tag {
    font-weight: 800;
    color: #e67e22;
    font-size: 0.9rem;
    min-width: 100px;
    text-transform: uppercase;
}

.activity-divider {
    width: 2px;
    height: 25px;
    background: rgba(230, 126, 34, 0.3);
    margin: 0 15px;
}

.activity-content-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    flex: 1;
}

.ayin-premium-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #f1c40f;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* Admin Gallery Preview Scrollbar */
.gallery-preview-list::-webkit-scrollbar {
    width: 5px;
}

.gallery-preview-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

/* Ayın Öğrencisi Yeni Full-Card Tasarımı */
.ayin-ogrencisi-box-premium {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.ayin-card-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.ayin-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ayin-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    color: white;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.ayin-name-new {
    font-weight: 900;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #f1c40f;
}

.ayin-divider-new {
    height: 2px;
    width: 40px;
    background: #f1c40f;
    margin: 8px auto;
    border-radius: 2px;
}

.ayin-text-new {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 992px) {
    .activity-grid-premium {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Top Widgets (Slider & Ayın Öğrencisi) */
.premium-top-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5vw;
    height: 22vh;
    margin-bottom: 1vh;
}

.slider-box .carousel,
.slider-box .carousel-inner,
.slider-box .carousel-item {
    height: 100%;
}

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

.ayin-header {
    background: #f1c40f;
    color: #000;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    padding: 5px;
}

.ayin-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    height: calc(100% - 30px);
    justify-content: center;
}

.ayin-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #f1c40f;
    object-fit: cover;
    margin-bottom: 8px;
}

.ayin-name {
    font-weight: 800;
    color: #2c3e50;
    font-size: 1.1rem;
    text-align: center;
}

/* Activity Scroll */
.activity-scroll {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 15vh;
    overflow-y: auto;
    padding-right: 5px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 1rem;
    display: flex;
    gap: 10px;
}

.activity-day {
    font-weight: 800;
    color: #e67e22;
    min-width: 90px;
}

.activity-text {
    font-weight: 500;
    color: #333;
}

/* Birthday Bar */
.birthday-bar {
    background: linear-gradient(90deg, #ff9ff3, #feca57);
    margin: 1vh 0;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.birthday-inner {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.birthday-name {
    margin-left: 20px;
    background: white;
    color: #ff6b6b;
    padding: 4px 15px;
    border-radius: 50px;
}

/* Event & QR */
.event-mini-title {
    font-weight: 800;
    font-size: 1rem;
    color: #ff4757;
    margin-bottom: 5px;
}

.qr-container {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.qr-code-img {
    width: 70px;
    height: 70px;
}

/* Premium Glass Footer Styles */
.premium-footer {
    margin-top: 8vh;
    padding: 0 5vw 5vh 5vw;
}

.footer-glass-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: contain;
}

.footer-brand h3 {
    margin: 0;
    font-weight: 800;
    font-size: 1.5rem;
    color: #2c3e50;
    letter-spacing: -1px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-weight: 500;
    max-width: 400px;
}

.footer-col h4 {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #4ebedb;
    transform: translateX(5px);
}

.footer-contact {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    line-height: 1.8;
}

.footer-contact i {
    width: 25px;
    color: #4ebedb;
}

.footer-bottom {
    text-align: center;
}

.footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col.text-end {
        text-align: left !important;
    }
}

/* --- Multimedia Rotation Styles --- */
.staff-rotation-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a6bbd 0%, #4ebedb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.staff-inner {
    text-align: center;
    width: 100%;
}

.staff-title {
    color: white;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.staff-grid-mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.staff-card-mini {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 18px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.staff-card-mini:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.staff-avatar-mini {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6bbd;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.staff-info-mini {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.staff-name-mini {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.2;
}

.staff-role-mini {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.image-rotation-box {
    width: 100%;
    height: 100%;
    background: #000;
}

#player-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.text-rotation-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
}

.text-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 50px;
    width: 100%;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.rotation-text {
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

#player {
    width: 300% !important;
    height: 300% !important;
    position: absolute !important;
    top: -100% !important;
    left: -100% !important;
    transform: scale(0.3333);
    transform-origin: center;
    image-rendering: optimizeQuality;
}

/* Animations for switching */
#rotation-container>div {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Event Widget Styles */
.text-orange {
    color: #e67e22 !important;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    align-content: flex-start;
}

.event-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    /* Slightly smaller for side-by-side */
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-left: 5px solid #e67e22;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    text-align: left;
    flex: 1 1 calc(50% - 8px);
    /* Take up 50% width minus gap */
    min-width: 180px;
    /* Force wrap if container is too small */
}

.event-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .event-item {
        font-size: 1.1rem;
        padding: 8px 12px;
    }

    .event-image-main,
    #canva-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Final Fixes for Large Screens & Mobile */
    @media (max-width: 1400px) {
        .site-title {
            font-size: 2rem;
        }

        .time-text {
            font-size: 4rem;
        }

        .clock-area {
            margin-right: 0;
        }

        .video-panel {
            min-height: 40vh;
            max-height: 45vh;
        }
    }

    @media (max-width: 768px) {
        .header-area {
            height: auto;
            padding: 20px 0;
        }

        .site-title {
            font-size: 1.6rem;
            text-align: center;
        }

        .time-text {
            font-size: 2.8rem;
        }

        .clock-area {
            width: 100%;
            margin-top: 15px;
        }

        .video-panel {
            min-height: 250px;
            border-width: 8px;
            margin-bottom: 10px;
        }

        .video-marquee-area {
            height: auto;
            position: static;
            transform: none;
            margin-bottom: 20px;
        }

        .marquee-pill {
            height: 70px;
            padding-left: 20px;
            padding-right: 20px;
            border-radius: 20px;
            overflow: hidden;
        }

        .marquee-icon-box {
            display: none;
        }

        /* Hide icon on small mobile to save space */
        marquee {
            font-size: 1.4rem;
        }

        .main-content {
            gap: 20px;
        }

        .bottom-widgets {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .widget-box {
            width: 100%;
        }

        .widget-body {
            min-height: 120px;
        }

        .temp-text {
            font-size: 3.5rem;
        }

        .info-panel {
            padding-top: 0;
        }
    }

    orts-container {
        grid-template-columns: 1fr;
    }
}