/* Veelah's 5th Birthday Party - Modern CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FF69B4 0%, #FFB6C1 50%, #DDA0DD 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Sparkles Animation */
.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

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

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 105, 180, 0.1) 100%);
    padding: 40px 20px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

/* Floating Balloons */
.balloons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float 6s ease-in-out infinite;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: #333;
}

.balloon-pink {
    background: linear-gradient(145deg, #FF69B4, #FF1493);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.balloon-white {
    background: linear-gradient(145deg, #FFFFFF, #F8F8FF);
    top: 15%;
    right: 15%;
    animation-delay: 2s;
}

.balloon-purple {
    background: linear-gradient(145deg, #DDA0DD, #DA70D6);
    top: 20%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    align-items: center;
    z-index: 10;
    position: relative;
}

/* Hero Left - Barbie Doll */
.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.barbie-doll {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.barbie-image {
    width: 280px;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.4);
    border: 4px solid #FF69B4;
    transition: transform 0.3s ease;
}

.barbie-image:hover {
    transform: scale(1.05);
}

.barbie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 16px;
}

/* Barbie Sparkles */
.barbie-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkleAnimation 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(255, 105, 180, 0.6));
}

.s1 { top: 15%; left: 5%; animation-delay: 0s; }
.s2 { top: 35%; right: 8%; animation-delay: 1s; }
.s3 { bottom: 25%; left: 8%; animation-delay: 2s; }
.s4 { top: 65%; right: 12%; animation-delay: 1.5s; }

@keyframes sparkleAnimation {
    0%, 100% { opacity: 0.7; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

/* Hero Center - Main Content */
.hero-center {
    text-align: center;
}

/* Barbie Logo */
.barbie-logo {
    margin-bottom: 30px;
}

.barbie-logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #FF1493;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.barbie-text {
    font-size: 4rem;
    background: linear-gradient(45deg, #FF69B4, #FF1493, #DA70D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #FF1493;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Party Details */
.party-details {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.3);
    border: 3px solid #FF69B4;
}

.birthday-girl, .birthday-age {
    font-family: 'Dancing Script', cursive;
    color: #FF1493;
    margin-bottom: 20px;
}

.birthday-girl {
    font-size: 3rem;
    font-weight: 700;
}

.birthday-age {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.date-time-location {
    margin: 30px 0;
}

/* Date Row Layout */
.date-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.day-info, .time-info {
    padding: 15px;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    border-radius: 15px;
    color: white;
    text-align: center;
}

.day-label, .time-label {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.date-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 20px;
    border: 3px solid #FF69B4;
    text-align: center;
    position: relative;
}

.big-date {
    font-size: 4.5rem;
    font-weight: 700;
    color: #FF1493;
    font-family: 'Dancing Script', cursive;
    line-height: 1;
    display: block;
}

.month {
    font-size: 1.4rem;
    color: #FF1493;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

.year {
    font-size: 1.1rem;
    color: #FF69B4;
    font-weight: 600;
    margin-top: 3px;
    display: block;
}

/* Location Info */
.location-info {
    background: linear-gradient(135deg, #DDA0DD, #DA70D6);
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.address {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.city {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    display: block;
}

.rsvp-info {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #DDA0DD, #DA70D6);
    border-radius: 15px;
    color: white;
}

.rsvp-info p {
    margin: 5px 0;
    font-weight: 600;
}

.phone {
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
}

/* Hero Right - Decorative Elements */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-elements {
    position: relative;
    width: 200px;
    height: 300px;
}

.sparkle-1 { top: 15%; left: 20%; animation-delay: 0s; }
.sparkle-2 { top: 40%; right: 15%; animation-delay: 1s; }
.sparkle-3 { bottom: 30%; left: 30%; animation-delay: 2s; }
.sparkle-4 { top: 60%; left: 60%; animation-delay: 3s; }

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.8; }
    25% { transform: translateY(-10px) rotate(90deg) scale(1.1); opacity: 1; }
    50% { transform: translateY(-15px) rotate(180deg) scale(1.2); opacity: 0.9; }
    75% { transform: translateY(-5px) rotate(270deg) scale(1.1); opacity: 1; }
}

/* Guest List Section */
.guest-list-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    margin: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.guest-list-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #FF1493;
    margin-bottom: 20px;
}

.invite-text {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guest-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FF1493;
    font-size: 1.1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 3px solid #FFB6C1;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #FF69B4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.4);
}

.confirmation-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #90EE90, #32CD32);
    border-radius: 20px;
    color: white;
    margin-top: 30px;
}

.confirmation-message h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Activities Section */
.activities-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 182, 193, 0.1));
    margin: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.activities-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #FF1493;
    margin-bottom: 20px;
}

.activities-intro {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
    border: 3px solid #FFB6C1;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 105, 180, 0.3);
    border-color: #FF69B4;
}

.activity-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #FF1493;
    margin-bottom: 15px;
    text-align: center;
}

.activity-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    font-size: 1rem;
}

/* Party Info Section */
.party-info-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    margin: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    padding: 30px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.info-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card li {
    margin: 10px 0;
    padding: 8px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.info-card li::before {
    content: '💖';
    position: absolute;
    left: 0;
    top: 8px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #FF1493, #DA70D6);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.footer-hearts {
    font-size: 2rem;
    margin-top: 20px;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.footer-admin {
    margin-top: 10px;
}

.submit-btn--admin {
    background: #333;
    width: auto;
    padding: 12px 24px;
}

/* Admin Section */
.admin-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    margin: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.admin-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #FF1493;
    margin-bottom: 10px;
}

.admin-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.admin-controls .submit-btn {
    width: auto;
    padding: 12px 20px;
    font-size: 1rem;
}

.guest-stats {
    margin: 10px 0;
    font-weight: 600;
    text-align: center;
    color: #666;
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.guest-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.guest-table th {
    background: rgba(255, 105, 180, 0.15);
    text-align: left;
    padding: 12px;
    font-weight: 600;
    color: #FF1493;
}

.guest-table td {
    padding: 12px;
    border-bottom: 1px solid #f2f2f2;
}

.guest-table tbody tr:nth-child(odd) {
    background: rgba(255, 182, 193, 0.05);
}

.guest-table tbody tr:hover {
    background: rgba(255, 182, 193, 0.15);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.error-message {
    color: #ff4757;
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }
    
    .hero-left { order: 1; }
    .hero-center { order: 2; }
    .hero-right { order: 3; }
    
    .barbie-image {
        width: 240px;
        height: 360px;
    }
    
    .barbie-logo h1 { font-size: 3rem; }
    .barbie-text { font-size: 3.5rem; }
    .party-details { padding: 35px; }
    .date-row { gap: 15px; }
    .big-date { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
        min-height: unset;
    }
    
    .hero-container { gap: 30px; }
    .barbie-image { width: 300px; height: 300px; }
    .barbie-logo h1 { font-size: 2.5rem; }
    .barbie-text { font-size: 3rem; }
    .birthday-girl { font-size: 2.5rem; }
    .birthday-age { font-size: 2rem; }
    .party-details { padding: 25px; }
    
    .date-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .big-date { font-size: 3rem; }
    .activities-grid { grid-template-columns: 1fr; gap: 20px; }
    .activities-section h2 { font-size: 2.5rem; }
    .container { padding: 0 0px; }
    
    .guest-list-section,
    .activities-section,
    .party-info-section,
    .admin-section {
        margin: 20px 10px;
        padding: 40px 15px;
    }
    
    .balloon { width: 40px; height: 55px; }
    .decorative-elements { width: 150px; height: 200px; }
    .sparkle { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-section { padding: 30px 10px; }
    .barbie-image { width: 235px; height: 240px; }
    .barbie-logo h1 { font-size: 2rem; }
    .barbie-text { font-size: 2.5rem; }
    .birthday-girl { font-size: 2rem; }
    .birthday-age { font-size: 1.8rem; }
    .big-date { font-size: 2.5rem; }
    .activities-section h2 { font-size: 2rem; }
    .party-details { padding: 20px; }
    
    .guest-list-section,
    .activities-section,
    .party-info-section,
    .admin-section {
        margin: 15px 5px;
        padding: 30px 15px;
    }
    
    .decorative-elements { width: 100px; height: 150px; }
    .sparkle { font-size: 1.5rem; }
}
