/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Allow text selection only for specific elements */
.message-text, .memory-content p, .wish-content p, .footer-credit p {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* Countdown Screen */
.countdown-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3498db 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease;
}

.countdown-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.countdown-logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
}

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

.countdown-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #ecf0f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.timer-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-progress {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Birthday Screen */
.birthday-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a3a 25%, #2d1b69 50%, #16213e 75%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

/* Gece Gökyüzü Efektleri */
.birthday-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent),
        radial-gradient(1px 1px at 200px 60px, #ffffff, transparent),
        radial-gradient(2px 2px at 240px 90px, #ffffff, transparent),
        radial-gradient(1px 1px at 280px 40px, #ffffff, transparent),
        radial-gradient(2px 2px at 320px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 360px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 400px 80px, #ffffff, transparent),
        radial-gradient(1px 1px at 440px 50px, #ffffff, transparent),
        radial-gradient(2px 2px at 480px 90px, #ffffff, transparent),
        radial-gradient(1px 1px at 520px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 560px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 600px 40px, #ffffff, transparent),
        radial-gradient(2px 2px at 640px 80px, #ffffff, transparent),
        radial-gradient(1px 1px at 680px 50px, #ffffff, transparent),
        radial-gradient(2px 2px at 720px 90px, #ffffff, transparent),
        radial-gradient(1px 1px at 760px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 800px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 840px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 880px 80px, #ffffff, transparent),
        radial-gradient(1px 1px at 920px 50px, #ffffff, transparent),
        radial-gradient(2px 2px at 960px 90px, #ffffff, transparent),
        radial-gradient(1px 1px at 1000px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 1040px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 1080px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 1120px 80px, #ffffff, transparent),
        radial-gradient(1px 1px at 1160px 50px, #ffffff, transparent),
        radial-gradient(1px 1px at 1200px 90px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 1200px 100px;
    animation: twinkle 4s ease-in-out infinite;
    z-index: 1;
}

/* Ay Efekti */
.birthday-screen::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 100px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #ffffff 0%, #f0f0f0 30%, #e0e0e0 60%, transparent 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 3;
    min-height: 100vh;
    max-height: 100vh;
    text-align: center;
}

.hero-text {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.name-highlight {
    background: linear-gradient(45deg, #f1c40f, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(241, 196, 15, 0.5);
    margin-top: 0.3rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    min-height: 180px;
}

.hero-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.photo-placeholder-hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.photo-icon-hero {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.photo-placeholder-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.birthday-cake {
    position: relative;
    width: 350px;
    height: auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Birthday Cake */
.cake-image {
    width: 350px;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.4));
    border-radius: 20px;
    margin: 0 auto;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Photo Section */
.photo-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.photo-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

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

.photo-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    position: relative;
    z-index: 5;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.tv-frame {
    display: inline-block;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6),
        inset 0 2px 10px rgba(255,255,255,0.1);
    position: relative;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tv-frame:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.7),
        inset 0 2px 10px rgba(255,255,255,0.1);
}

.tv-screen {
    width: 400px;
    height: 250px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
}



/* HTML5 Video Styles */
.birthday-video {
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
    object-fit: cover;
}

.birthday-video:hover {
    opacity: 0.9;
}

/* Volume Warning */
.volume-warning {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse-warning 2s infinite;
    transition: all 0.5s ease;
}

.warning-icon {
    font-size: 1rem;
    animation: bounce 1s infinite;
}

.warning-text {
    white-space: nowrap;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* Volume Popup */
.volume-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.volume-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.volume-popup.show .popup-content {
    transform: scale(1);
}

.popup-header {
    margin-bottom: 20px;
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.popup-title {
    color: #ffeb3b;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.popup-message {
    margin-bottom: 25px;
}

.popup-message p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.popup-btn {
    background: linear-gradient(145deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    background: linear-gradient(145deg, #ff5252, #d32f2f);
}

.popup-btn:active {
    transform: translateY(0);
}

.tv-stand {
    width: 60px;
    height: 20px;
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Video autoplay indicator */
.tv-screen::before {
    content: "▶️ Otomatik Oynatılıyor";
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tv-screen:hover::before {
    opacity: 1;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-info {
    text-align: center;
    color: white;
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffeb3b;
}

.video-instruction {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.unmute-btn {
    background: linear-gradient(145deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.unmute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    background: linear-gradient(145deg, #ff5252, #d32f2f);
}

.unmute-btn:active {
    transform: translateY(0);
}

/* Responsive video section */
@media (max-width: 768px) {
    .tv-screen {
        width: 300px;
        height: 180px;
    }
    
    .tv-frame {
        padding: 15px;
    }
    
    .tv-screen::before {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .popup-content {
        padding: 25px;
        max-width: 350px;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-message p {
        font-size: 0.9rem;
    }
    
    .popup-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tv-screen {
        width: 250px;
        height: 150px;
    }
    
    .tv-frame {
        padding: 10px;
    }
}


/* Message Section */
.message-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.message-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.message-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.message-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.message-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.message-signature {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.signature-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Memories Section */
.memories-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}

.memories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.memory-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

.memory-card .memory-icon,
.memory-card h3 {
    opacity: 0;
    transition: all 0.3s ease;
}

.memory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.memory-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-out;
    opacity: 0;
    transform: rotateY(0deg);
}

.card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.memory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.click-text {
    color: #ffeb3b;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 20px #ffeb3b, 0 0 30px #ffeb3b, 0 0 40px #ffeb3b;
    animation: glow 2s ease-in-out infinite alternate;
}

.memory-card.expanded {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.memory-card.expanded .memory-overlay {
    opacity: 0;
    pointer-events: none;
}

.memory-card.expanded .memory-content {
    opacity: 1;
    transform: rotateY(0deg);
}

.memory-card.expanded .memory-icon,
.memory-card.expanded h3 {
    opacity: 1;
}

.memory-card.expanded .card-arrow {
    color: #f39c12;
}

.memory-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.memory-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.memory-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Wishes Section */
.wishes-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.wish-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

.wish-card .wish-icon,
.wish-card h3 {
    opacity: 0;
    transition: all 0.3s ease;
}

.wish-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.wish-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-out;
    opacity: 0;
    transform: rotateY(0deg);
}

.wish-card .card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.wish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.wish-card.expanded {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.wish-card.expanded .wish-overlay {
    opacity: 0;
    pointer-events: none;
}

.wish-card.expanded .wish-content {
    opacity: 1;
    transform: rotateY(0deg);
}

.wish-card.expanded .wish-icon,
.wish-card.expanded h3 {
    opacity: 1;
}

.wish-card.expanded .card-arrow {
    color: #f39c12;
}

.wish-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wish-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-arrow {
    display: block;
    font-weight: bold;
}

/* Admin Panel */
.admin-panel {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a3a 25%, #2d1b69 50%, #16213e 75%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.admin-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.back-btn {
    padding: 15px 30px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-date-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 1rem;
    }
    
    .timer-number {
        font-size: 2rem;
    }
    
    .hero-content {
        gap: 1rem;
        text-align: center;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line.name-highlight {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
    }
    
    .hero-photo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        min-height: 160px;
    }
    
    .hero-photo {
        width: 140px;
        height: 140px;
        margin-bottom: 0;
    }
    
    .birthday-cake {
        width: 320px;
        height: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .cake-image {
        width: 320px;
        max-height: 320px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Mobilde ay boyutunu küçült */
    .birthday-screen::after {
        width: 60px;
        height: 60px;
        top: 30px;
        right: 50px;
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .title-line.name-highlight {
        font-size: 2.2rem;
    }
    
    .hero-visual {
        gap: 1.2rem;
    }
    
    .hero-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 0;
    }
    
    .photo-icon-hero {
        font-size: 2rem;
    }
    
    .photo-placeholder-hero p {
        font-size: 0.8rem;
    }
    
    .birthday-cake {
        width: 280px;
        height: auto;
    }
    
    .cake-image {
        width: 280px;
        max-height: 280px;
    }
}

/* Havai Fişek Animasyonları - Renk Cümbüşü! */
@keyframes firework-launch {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(calc(var(--end-x) - var(--start-x)), calc(var(--end-y) - var(--start-y))) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--end-x) - var(--start-x)), calc(var(--end-y) - var(--start-y))) scale(0);
        opacity: 0;
    }
}

/* Büyük havai fişek patlaması animasyonu */
@keyframes massive-explosion {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    20% {
        transform: translate(calc(var(--direction-x) * 40px), calc(var(--direction-y) * 40px)) scale(2);
        opacity: 1;
    }
    50% {
        transform: translate(calc(var(--direction-x) * 100px), calc(var(--direction-y) * 100px)) scale(1.2);
        opacity: 0.9;
    }
    80% {
        transform: translate(calc(var(--direction-x) * 180px), calc(var(--direction-y) * 180px)) scale(0.6);
        opacity: 0.5;
    }
    100% {
        transform: translate(calc(var(--direction-x) * 250px), calc(var(--direction-y) * 250px)) scale(0);
        opacity: 0;
    }
}

/* Confetti Animasyonu */
@keyframes confetti-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* Saçılma animasyonu */
@keyframes particle-scatter {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    20% {
        transform: translate(calc(var(--direction-x) * 30px), calc(var(--direction-y) * 30px)) scale(1.3);
        opacity: 1;
    }
    60% {
        transform: translate(calc(var(--direction-x) * 80px), calc(var(--direction-y) * 80px)) scale(0.7);
        opacity: 0.6;
    }
    100% {
        transform: translate(calc(var(--direction-x) * 150px), calc(var(--direction-y) * 150px)) scale(0);
        opacity: 0;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Mobilde animasyonları basitleştir */
    @keyframes firework-launch {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }
        100% {
            transform: translate(calc(var(--end-x) - var(--start-x)), calc(var(--end-y) - var(--start-y))) scale(0);
            opacity: 0;
        }
    }
    
    @keyframes massive-explosion {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }
        50% {
            transform: translate(calc(var(--direction-x) * 120px), calc(var(--direction-y) * 120px)) scale(0.8);
            opacity: 0.7;
        }
        100% {
            transform: translate(calc(var(--direction-x) * 200px), calc(var(--direction-y) * 200px)) scale(0);
            opacity: 0;
        }
    }
    
    @keyframes confetti-fall {
        0% {
            transform: translateY(-10vh) rotate(0deg);
            opacity: 1;
        }
        100% {
            transform: translateY(110vh) rotate(360deg);
            opacity: 0;
        }
    }
}

/* Performance optimizations for all devices */
.firework-particle,
.confetti-particle {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .firework-particle,
    .confetti-particle,
    .balloon-letter {
        animation-duration: 0.5s !important;
        animation-iteration-count: 1 !important;
    }
}

/* Balon İsim */
.balloon-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    padding: 15px 10px;
    min-height: 80px;
    overflow: visible;
}

.balloon-letter {
    width: 55px;
    height: 70px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.3),
        inset 0 -8px 15px rgba(0,0,0,0.3),
        inset 0 8px 15px rgba(255,255,255,0.2);
    position: relative;
    animation: balloon-float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    overflow: visible;
    border: 2px solid rgba(255,255,255,0.2);
    margin: 8px 0;
}

.balloon-letter::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50% 50% 0 0;
    border: 1px solid rgba(255,255,255,0.3);
}

.balloon-letter::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 25px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    border-radius: 1px;
    animation: string-swing 2s ease-in-out infinite;
}

.balloon-letter .highlight {
    content: '';
    position: absolute;
    top: 12px;
    left: 15px;
    width: 15px;
    height: 12px;
    background: linear-gradient(45deg, rgba(255,255,255,0.5), rgba(255,255,255,0.3));
    border-radius: 50%;
    transform: rotate(-15deg);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.4);
}

.balloon-letter:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 
        0 12px 30px rgba(0,0,0,0.4),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.balloon-letter:nth-child(1) { 
    animation-delay: 0s; 
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(2) { 
    animation-delay: 0.2s; 
    background: linear-gradient(45deg, #ffa726, #ff9800);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(3) { 
    animation-delay: 0.4s; 
    background: linear-gradient(45deg, #ffeb3b, #fdd835);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(4) { 
    animation-delay: 0.6s; 
    background: linear-gradient(45deg, #66bb6a, #4caf50);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(5) { 
    animation-delay: 0.8s; 
    background: linear-gradient(45deg, #42a5f5, #2196f3);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(6) { 
    animation-delay: 1s; 
    background: linear-gradient(45deg, #ab47bc, #9c27b0);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}
.balloon-letter:nth-child(7) { 
    animation-delay: 1.2s; 
    background: linear-gradient(45deg, #ff7043, #ff5722);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(0,0,0,0.2),
        inset 0 10px 20px rgba(255,255,255,0.1);
}

@keyframes balloon-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes string-swing {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) rotate(2deg);
    }
    50% {
        transform: translateX(-50%) rotate(0deg);
    }
    75% {
        transform: translateX(-50%) rotate(-2deg);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px #ffeb3b, 0 0 30px #ffeb3b, 0 0 40px #ffeb3b;
    }
    100% {
        text-shadow: 0 0 30px #ffeb3b, 0 0 40px #ffeb3b, 0 0 50px #ffeb3b, 0 0 60px #ffeb3b;
    }
}

/* Responsive balon boyutları */
@media (max-width: 768px) {
    .balloon-letter {
        width: 45px;
        height: 60px;
        font-size: 1.2rem;
        margin: 8px 0;
    }
    
    .balloon-name {
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        overflow: visible;
        padding: 15px 10px;
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .balloon-letter {
        width: 35px;
        height: 45px;
        font-size: 1rem;
    }
    
    .balloon-name {
        gap: 0.2rem;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        overflow: visible;
        padding: 10px 5px;
        min-height: 60px;
    }
    
    .tv-screen {
        width: 250px;
        height: 160px;
    }
    
    .tv-frame {
        padding: 10px;
    }
    

}

