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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.presentation-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    padding: 15px;
    gap: 15px;
    position: relative;
}

/* Public View Container */
.public-view-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: #667eea;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.public-view-container.show {
    opacity: 1;
}

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

/* Fullscreen Photo Container */
.fullscreen-photo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity var(--transition-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-photo-container.show {
    opacity: 1;
}

.fullscreen-photo-container img {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 10px;
}

.fullscreen-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.fullscreen-title {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.fullscreen-subtitle {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    animation: slideDown 1s ease-out;
}

.logo {
    height: 60px;
    width: auto;
    animation: fadeIn 1.5s ease-out;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #fff700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: titleGlow 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.main-title::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -15px;
    right: -15px;
    bottom: -8px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 237, 78, 0.1));
    border-radius: 12px;
    z-index: -1;
    animation: titlePulse 6s ease-in-out infinite;
}

.donation-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.counter-number {
    font-size: 3em;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    animation: pulse 2s infinite;
}

.counter-label {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
}

.percentage-change {
    margin-top: 10px;
    text-align: center;
}

.percentage-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #4ecdc4;
}

.comparison-text {
    font-size: 0.8em;
    opacity: 0.7;
    display: block;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

/* Carousel Section */
.carousel-section {
    flex: 0 0 300px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    height: 220px;
    padding: 20px;
    background: transparent;
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-duration, 800ms) cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    gap: 20px;
    animation: slideCarousel 20s infinite linear;
}

@keyframes slideCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes titleGlow {
    0% { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(255, 215, 0, 0.8), 0 0 120px rgba(255, 215, 0, 0.4);
        transform: scale(1.02);
    }
}

@keyframes titlePulse {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 0.3; transform: scale(1); }
}

/* Transition Timer */
.transition-timer {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.transition-timer.show {
    display: flex;
    animation: timerPulse 0.3s ease-out;
}

.timer-circle {
    width: 40px;
    height: 40px;
    position: relative;
}

.timer-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
}

.timer-circle-progress {
    fill: none;
    stroke: #4ade80;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113;
    stroke-dashoffset: 113;
    transition: stroke-dashoffset linear;
    filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

@keyframes timerPulse {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.carousel-slide {
    flex: 0 0 280px;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Current Updates Section */
.current-updates-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.current-photos-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: auto;
    min-height: 0;
}

/* Facts Section */
.facts-section {
    flex: 0 0 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facts-title {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 500;
}

.facts-carousel {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fact-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fact-item.active {
    opacity: 1;
    transform: translateY(0);
}

.fact-item p {
    font-size: 1.1em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.left-section, .right-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Previous Photos Container */
.previous-photos-container {
    height: 60%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.photo-item:hover img {
    filter: brightness(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    font-size: 0.9em;
}

/* Facts Container */
.facts-container {
    height: 35%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
}

.facts-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    text-align: center;
    color: #4ecdc4;
}

.facts-carousel {
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-item {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    opacity: 0;
    animation: factSlide 8s infinite;
    position: absolute;
}

/* Current Photos Container */
.current-photos-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.current-photos-container::-webkit-scrollbar {
    display: none;
}

.current-photo-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    animation: slideInRight 0.5s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.photo-context {
    font-size: 0.9em;
    opacity: 0.9;
    line-height: 1.4;
}

.photo-timestamp {
    font-size: 0.8em;
    opacity: 0.7;
    margin-top: 5px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0.6;
}

.pulse-animation {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

/* Stats Bar */
.stats-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #4ecdc4;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Notification Popup */
.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.notification-popup.show {
    transform: translate(-50%, -50%) scale(1);
}

.notification-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.notification-text {
    font-size: 1.5em;
    font-weight: bold;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

@keyframes factSlide {
    0%, 20% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 95% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .left-section, .right-section {
        flex: none;
        height: 45vh;
    }
    
    .title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .stats-bar {
        padding: 15px 20px;
    }
    
    .title {
        font-size: 1.5em;
    }
}
