@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('../img/bg_clouds.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.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: 10vh;
    /* 12'den 10'a düşürüldü */
    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;
}

.clock-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 10;
}

.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: 3.5rem;
    font-weight: 900;
    color: white;
}

/* --- Main Layout --- */
.main-content {
    flex: 1;
    display: flex;
    gap: 1.5vw;
    margin: 1.5vh 0;
    /* 2'den 1.5'e düşürüldü */
    align-items: stretch;
    min-height: 0;
    /* İçeriğin taşmasını önlemek için kritik */
}

.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: 3vh;
    padding-top: 2vh;
}

/* --- 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;
}

.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;
    position: relative;
    height: 6vh;
    font-size: 1.4rem;
    display: flex;
    justify-content: flex-end;
    padding: 0 1.5vw;
}

.nobetci-box .info-box-body {
    background: #d1e8ef;
    padding: 2vh;
}

.nobetci-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.nobetci-item {
    text-align: center;
}

.nobetci-label {
    font-weight: 900;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 2px;
}

.nobetci-name {
    font-weight: 300;
    font-size: 1.5rem;
    color: #1a6bbd;
    line-height: 1.1;
}

/* Menü kutuları */
.menu-box {
    overflow: visible !important;
    margin-top: 1vh;
}

.menu-box .info-box-header {
    background: #7dbe43;
    height: 6.5vh;
    font-size: 1.4rem;
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 0 1.5vw;
}

.menu-box .info-box-body {
    background: #e8f4d9;
    gap: 1.5vh;
    padding: 3vh 2vh 1.5vh 2vh;
    min-height: 24vh;
    /* Reduced from 28vh */
}

.menu-inner-box {
    background: white;
    border-radius: 20px;
    padding: 1.5vh 1.5vw;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #d4e5be;
}

.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;
    padding-top: 2vh;
}

.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: flex-end;
    padding: 0 1.5vw;
}

.exit-box .widget-header {
    background: linear-gradient(to right, #f8d384, #fcae4c);
}

.weather-widget .widget-header {
    background: #2185d0;
    border-bottom: 2px solid #1a6bbd;
}

.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: -10px;
    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;
}

.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 1vw;
    height: 10vh;
    flex-shrink: 0;
}

.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ı */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.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.4);
    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);
}

.activity-container-new {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-row {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    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-direction: column;
    gap: 8px;
    width: 100%;
}

.event-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.3rem;
    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;
}

.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-list {
        gap: 6px;
    }
}