/* ===== Layout ===== */
.container {
    max-width: 1100px;
}

/* ===== Titles ===== */
h1 {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    color: #0d6efd;
}

h2 {
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 10px 28px;
    font-size: 16px;
    border-radius: 30px;
    /* center horizontally: block + auto margins keep the button sized to its content */
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

/* ===== Images ===== */
img.img-fluid {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ===== Table ===== */
.table {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    text-align: center;
    font-weight: 600;
    vertical-align: middle;
}

.table tbody td {}

.table tbody td:first-child {
    text-align: center;
    vertical-align: middle;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
}


.table a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.table a:hover {
    text-decoration: underline;
}


/* ===== Mobile ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .btn-primary {
        width: 100%;
    }
}

:root {
    --text-color: #e0e0e0;
    --light-text: #ffffff;
    --max-width: 1200px;
    --footer-height: 200px;
    --confetti-gold: #ffd700;
    --confetti-gold-light: #ffed4e;
    --confetti-gold-dark: #daa520;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #000000 !important;
    background-attachment: fixed !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden !important;
    background: #000000;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/gcr-prod-3a191.firebasestorage.app/o/event_styles%2Fkaicho85-vip-event%2FCEO-85th-Birthday-OL_0007_Bitmap.png?alt=media&token=60df00ad-d08e-4419-b0bc-94c888d51a7c');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
    padding-bottom: var(--footer-height);
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Confetti Background Container */
.confetti-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    pointer-events: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(0) !important;
}

/* Confetti Container */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}


/* Decoration Elements */
.decoration-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decoration-image {
    position: absolute;
    max-width: none;
    height: auto;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    transform-origin: center center;
}

/* Left decoration (top-left, half clipped) */
.decoration-left {
    width: 800px;
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

/* Right decoration (top-right, no overflow) */
.decoration-right {
    width: 400px;
    top: 50px;
    right: 100px;
    left: auto;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Main Content Styles */
.event-main {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 100px);
    padding-top: 2rem;
}

.logo-section {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
    position: relative;
    z-index: 2;
}

.main-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)) 
                    drop-shadow(0 0 40px rgba(255, 215, 0, 0.4));
    animation: logoGlow 4s ease-in-out infinite;
}

.sublogo {
    margin-top: -45px;
    margin-left: -10px;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)) 
                    drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)) 
                        drop-shadow(0 0 40px rgba(255, 215, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) 
                        drop-shadow(0 0 60px rgba(255, 215, 0, 0.6));
    }
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.container {
    width: 100%;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.714);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Footer - Semi-transparent to show background through */


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    :root {
        --footer-height: 250px;
    }

    .container {
        padding: 0.5rem;
        border-radius: 8px;
    }

    .logo-section {
        padding: 1rem 0;
        gap: 1rem;
    }

    .main-logo {
        max-width: 150px;
    }

    .sublogo {
        max-width: 300px;
    }

    .decoration-left {
        width: 400px;
        top: -200px;
        left: -200px;
    }

    .decoration-right {
        width: 100px;
        top: 50px;
        right: 40px;
    }

    .page-wrapper {
        background-size: cover;
    }
}

/* ===== Language selector ===== */
.language-selector {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.language-selector select {
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.language-selector select:focus {
    outline: none;
}
