:root {
    --christmas-red: #C41E3A;
    --christmas-dark-red: #8B0000;
    --christmas-green: #165B33;
    --christmas-gold: #F8B229;
    --cozy-dark: #2A1810;
    --cozy-darker: #1A0F0A;
    --cozy-red: #D42426;
    --cozy-green: #1D4B2C;
    --cozy-gold: #E4A853;
    --cozy-gold-light: #F8D4A0;
    --cozy-gold-dark: #C68B3C;
    --cozy-shadow: #110A06;
    --cozy-light: #F8E3C8;
    --cozy-wall: #3C2418;
    --snow-white: #F4F4F6;
    --font-christmas: 'Mountains of Christmas', cursive;
    --cozy-text: #FFE6CC;
    --cozy-input-bg: rgba(228, 168, 83, 0.1);
}

/* Custom cursors */

button, a, [role="button"], .clickable {
    cursor: url("/static/images/gift-cursor.png"), pointer !important;
}

body {
    font-family: var(--font-christmas);
    background: none;
    position: relative;
    overflow-x: hidden;
    font-size: 1.1rem;
    cursor: url("/static/images/candy-cane-cursor.png"), auto !important;
}

body::before {
    display: none;
}

#main-content {
    position: relative;
    z-index: 1;
}

/* Update all text elements to use Christmas font */
h1, h2, h3, p, span, button, input, a {
    font-family: var(--font-christmas) !important;
}

/* Make headings larger */
h1 { font-size: 3rem !important; }
h2 { font-size: 2.5rem !important; }
h3 { font-size: 2rem !important; }

/* Update button text */
.christmas-button {
    font-family: var(--font-christmas);
    font-size: 1.4rem;
    font-weight: bold;
}

/* Update input text */
.christmas-input {
    font-family: var(--font-christmas);
    font-size: 1.2rem;
}

/* Update header text */
header span {
    font-size: 1.8rem;
}

/* Update footer text */
footer {
    font-size: 1.2rem;
}

/* Make error messages consistent */
.text-red-500, .text-red-700 {
    font-family: var(--font-christmas);
    font-size: 1.2rem;
}

/* Update modal text */
.modal-container {
    font-family: var(--font-christmas);
}

.modal-container h3 {
    font-size: 2.2rem;
}

.modal-container p {
    font-size: 1.3rem;
}

/* Update loading text */
.loading-text {
    font-family: var(--font-christmas);
    font-size: 2.5rem;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.christmas-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.christmas-button {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold) 0%,
        var(--cozy-gold-dark) 100%
    );
    color: var(--cozy-darker);
    font-weight: bold;
    border: 1px solid var(--cozy-gold-dark);
    box-shadow: 0 4px 15px rgba(228, 168, 83, 0.2);
    min-width: 140px;
    height: 48px;
    margin: 0.5rem;
}

.christmas-button:hover {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold-light) 0%,
        var(--cozy-gold) 100%
    );
    box-shadow: 0 6px 20px rgba(228, 168, 83, 0.3);
}

.christmas-input {
    background: var(--cozy-input-bg);
    border: 2px solid var(--cozy-gold);
    color: var(--cozy-text);
    padding: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.christmas-input:focus {
    border-color: var(--cozy-gold-light);
    box-shadow: 0 0 0 3px rgba(228, 168, 83, 0.2);
}

/* Header styles */
header {
    background: linear-gradient(
        to bottom,
        var(--cozy-darker) 0%,
        var(--cozy-dark) 100%
    ) !important;
    border-bottom: 4px solid var(--cozy-gold);
    box-shadow: 0 4px 20px rgba(17, 10, 6, 0.5);
}

header .christmas-button {
    background: rgba(228, 168, 83, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(228, 168, 83, 0.3);
    color: var(--cozy-light);
}

header .christmas-button:hover {
    background: rgba(228, 168, 83, 0.25);
    transform: translateY(-2px);
}

/* Update header text color */
header span.text-white {
    color: var(--cozy-light) !important;
    text-shadow: 2px 2px 4px var(--cozy-shadow);
}

/* Footer styles */
footer {
    background: linear-gradient(
        to top,
        var(--cozy-darker) 0%,
        var(--cozy-wall) 100%
    ) !important;
    border-top: 4px solid var(--cozy-gold);
    box-shadow: 0 -4px 20px rgba(17, 10, 6, 0.5);
}

/* Update footer text colors */
footer .text-gray-400 {
    color: var(--cozy-light) !important;
    opacity: 0.9;
    text-shadow: 1px 1px 2px var(--cozy-shadow);
}

footer a {
    color: var(--cozy-gold) !important;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px var(--cozy-shadow);
}

footer a:hover {
    color: #F8B229 !important;
    transform: translateY(-1px);
}

/* Card decorations */
.christmas-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
}

.decoration-holly {
    top: -20px;
    right: -20px;
    background-image: url('/static/images/bell.png');
}

.decoration-bell {
    bottom: -20px;
    left: -20px;
    background-image: url('/static/images/bell.png');
}

/* Add these background patterns */
.christmas-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            rgba(42, 24, 16, 0.7),
            rgba(26, 15, 10, 0.8)
        ),
        url('/static/images/christmas-pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* Add floating decorations */
.floating-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.floating-snowflake {
    animation: float 6s ease-in-out infinite;
}

.floating-bell {
    animation: float 8s ease-in-out infinite;
}

.floating-gift {
    animation: float 7s ease-in-out infinite;
}

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

/* Christmas Card Styles */
.christmas-inner-card {
    background: linear-gradient(135deg,
        rgba(42, 24, 16, 0.97) 0%,
        rgba(26, 15, 10, 0.95) 100%
    );
    border: 2px solid var(--cozy-gold);
    box-shadow: 
        0 0 30px rgba(228, 168, 83, 0.15),
        inset 0 0 50px rgba(228, 168, 83, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Festive Border */
.festive-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--christmas-red);
    border-radius: 25px;
    pointer-events: none;
    background: none;
}

/* Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.top-left-decoration {
    top: -25px;
    left: -25px;
    background-image: url('/static/images/bell.png');
    transform: rotate(-45deg);
}

.top-right-decoration {
    top: -25px;
    right: -25px;
    background-image: url('/static/images/bell.png');
    transform: rotate(45deg);
}

.bottom-left-decoration {
    bottom: -25px;
    left: -25px;
    background-image: url('/static/images/gift.png');
    transform: rotate(-45deg);
}

.bottom-right-decoration {
    bottom: -25px;
    right: -25px;
    background-image: url('/static/images/snowflake.png');
    transform: rotate(45deg);
}

/* Candy Cane Border */
.candy-cane-border {
    display: none;
}

/* Add inner glow effect */
.christmas-inner-card::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 2px dashed rgba(228, 168, 83, 0.3);
    border-radius: 15px;
    pointer-events: none;
}

/* Add inner glow effect */
.christmas-inner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 50% 0%, 
        rgba(196, 30, 58, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

/* Update Admin and Members sections */
.christmas-inner-card.bg-red-50 {
    background: 
        linear-gradient(rgba(254, 242, 242, 0.97), rgba(254, 242, 242, 0.97)),
        url('/static/images/pattern-inner.png');
    background-size: 150px;
    border: 2px solid var(--christmas-red);
}

.christmas-inner-card.bg-green-50 {
    background: 
        linear-gradient(rgba(236, 253, 245, 0.97), rgba(236, 253, 245, 0.97)),
        url('/static/images/pattern-inner.png');
    background-size: 150px;
    border: 2px solid var(--christmas-green);
}

/* Update Christmas Title */
.christmas-title {
    color: var(--cozy-gold);
    text-align: center;
    position: relative;
    padding: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* Add decorative swirls to titles */
.christmas-title::before,
.christmas-title::after {
    content: '❄️';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.8;
}

.christmas-title::before {
    left: -2rem;
}

.christmas-title::after {
    right: -2rem;
}

/* Add subtle pattern to form backgrounds */
#create_room_form .christmas-inner-card {
    background: 
        linear-gradient(135deg,
            rgba(58, 36, 24, 0.97) 0%,
            rgba(42, 24, 16, 0.94) 100%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(212, 36, 38, 0.1) 0px,
            rgba(212, 36, 38, 0.1) 10px,
            rgba(228, 168, 83, 0.1) 10px,
            rgba(228, 168, 83, 0.1) 20px
        );
    background-size: 100%, 60px 60px;
}

#join_room_form .christmas-inner-card {
    background: 
        linear-gradient(135deg,
            rgba(58, 36, 24, 0.97) 0%,
            rgba(42, 24, 16, 0.94) 100%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(29, 75, 44, 0.1) 0px,
            rgba(29, 75, 44, 0.1) 10px,
            rgba(228, 168, 83, 0.1) 10px,
            rgba(228, 168, 83, 0.1) 20px
        );
    background-size: 100%, 60px 60px;
}

/* Add decorative dividers */
.christmas-inner-card .space-y-4::before {
    content: '❄️ 🎄 ❄️';
    display: block;
    text-align: center;
    color: var(--cozy-gold);
    opacity: 0.8;
    font-size: 1.2rem;
    margin: 1rem 0;
    letter-spacing: 0.5rem;
}

/* Update input styling */
.christmas-input {
    background: var(--cozy-input-bg);
    border: 2px solid rgba(228, 168, 83, 0.4);
    color: var(--cozy-light);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(228, 168, 83, 0.1);
}

.christmas-input::placeholder {
    color: rgba(248, 227, 200, 0.7);
}

.christmas-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--cozy-gold);
    box-shadow: 
        0 0 0 3px rgba(228, 168, 83, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced button animations */
.christmas-button {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.christmas-button::before {
    position: absolute;
    font-size: 1.8rem;
    right: -30px;
    bottom: -5px;
    transition: transform 0.3s ease;
    transform: translateX(0) rotate(-10deg);
    z-index: 2;
}

/* Different emojis for different buttons */
.christmas-button[id="show_create_form"]::before {
    content: '🎅';
}

.christmas-button[id="show_join_form"]::before {
    content: '🤶';
}

.christmas-button[type="submit"]::before {
    content: '🎁';
}

.back-btn::before {
    content: '🦌';
}

.christmas-button[id="share_button"]::before {
    content: '🎄';
}

.christmas-button[id="copy_button"]::before {
    content: '⭐';
}

.christmas-button[id="start_raffle"]::before {
    content: '🎯';
}

/* Common hover effect for all buttons */
.christmas-button:hover::before {
    transform: translateX(-35px) rotate(10deg);
}

.christmas-button:hover {
    transform: translateY(-3px);
    padding-right: 2.5rem;
}

.christmas-button:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Different Santa for join button */
.christmas-button[id="show_join_form"]::before {
    content: '🤶';
}

/* Click effect for cards */
.christmas-inner-card {
    /* ... existing styles ... */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.christmas-inner-card:active {
    transform: scale(0.995);
}

/* Sparkle animation for buttons */
@keyframes sparkleEffect {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.christmas-button::after {
    display: none;
}

/* Add festive button shine */
@keyframes buttonShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.christmas-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    animation: buttonShine 2s infinite;
    z-index: 1;
}

/* Snow fall effect */
@keyframes snowfall {
    0% {
        transform: translateY(-100%) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.snow-particle {
    position: fixed;
    pointer-events: none;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    animation: snowfall linear infinite;
}

/* Hover effect for cards */
.christmas-inner-card {
    /* ... existing styles ... */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.christmas-inner-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(212, 36, 38, 0.2),
        inset 0 0 60px rgba(22, 91, 51, 0.1);
}

/* Update form transitions */
.form-container {
    position: relative;
    min-height: 150px;
    margin: 2rem 0;
}

.forms-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#create_room_form, #join_room_form {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

#create_room_form.active, #join_room_form.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Initial buttons container transition */
#initial_buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 2rem;
}

#initial_buttons.hidden {
    opacity: 0;
    transform: translateY(-20px);
    margin-bottom: 0;
}

/* Smooth container transitions */
.christmas-inner-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make all buttons consistent */
.christmas-button {
    min-width: 120px; /* Ensure consistent width */
    height: 48px; /* Ensure consistent height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
}

/* Add this to your JavaScript file */ 

/* Update the form styles */
.christmas-inner-card form {
    margin: 0 auto;
    max-width: 450px;
} 

/* Update buttons to match the cozy theme */
.christmas-button {
    background: var(--cozy-red);
    box-shadow: 0 4px 15px rgba(212, 36, 38, 0.2);
}

.christmas-button:hover {
    background: #BC2022;
    box-shadow: 0 6px 20px rgba(212, 36, 38, 0.3);
}

.back-btn, 
.christmas-button[style*="background: var(--christmas-green)"] {
    background: var(--cozy-green) !important;
    box-shadow: 0 4px 15px rgba(29, 75, 44, 0.2);
}

.back-btn:hover,
.christmas-button[style*="background: var(--christmas-green)"]:hover {
    background: #163D23 !important;
    box-shadow: 0 6px 20px rgba(29, 75, 44, 0.3);
} 

/* Update text colors */
.christmas-inner-card h1,
.christmas-inner-card h2,
.christmas-inner-card h3,
.christmas-inner-card p,
.christmas-inner-card label,
.christmas-title {
    color: var(--cozy-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Update error messages */
.text-red-500, .text-red-700 {
    color: #FF9999 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Update dividers */
.christmas-inner-card .space-y-4::before {
    color: var(--cozy-gold);
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Update "How It Works" section */
.how-it-works {
    color: var(--cozy-text);
}

.how-it-works h2 {
    color: var(--cozy-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.how-it-works .bg-white {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(228, 168, 83, 0.3);
}

.how-it-works h3 {
    color: var(--cozy-gold);
}

.how-it-works p {
    color: var(--cozy-light);
}

/* Update number circles in How It Works */
.how-it-works .bg-blue-100,
.how-it-works .bg-green-100,
.how-it-works .bg-purple-100 {
    background: rgba(228, 168, 83, 0.2) !important;
}

.how-it-works .text-blue-600,
.how-it-works .text-green-600,
.how-it-works .text-purple-600 {
    color: var(--cozy-gold) !important;
} 

/* Fix inner card spacing and alignment */
.christmas-inner-card {
    background: linear-gradient(135deg,
        rgba(42, 24, 16, 0.97) 0%,
        rgba(26, 15, 10, 0.95) 100%
    );
    border: 2px solid var(--cozy-gold);
    box-shadow: 
        0 0 30px rgba(228, 168, 83, 0.15),
        inset 0 0 50px rgba(228, 168, 83, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Update form container spacing */
.form-container {
    position: relative;
    min-height: 150px;
    margin: 2rem 0;
}

.forms-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Update button styling for gold theme */
.christmas-button {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold) 0%,
        var(--cozy-gold-dark) 100%
    );
    color: var(--cozy-darker);
    font-weight: bold;
    border: 1px solid var(--cozy-gold-dark);
    box-shadow: 0 4px 15px rgba(228, 168, 83, 0.2);
    min-width: 140px;
    height: 48px;
    margin: 0.5rem;
}

.christmas-button:hover {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold-light) 0%,
        var(--cozy-gold) 100%
    );
    box-shadow: 0 6px 20px rgba(228, 168, 83, 0.3);
}

/* Update input styling */
.christmas-input {
    background: var(--cozy-input-bg);
    border: 2px solid var(--cozy-gold);
    color: var(--cozy-text);
    padding: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.christmas-input:focus {
    border-color: var(--cozy-gold-light);
    box-shadow: 0 0 0 3px rgba(228, 168, 83, 0.2);
}

/* Fix button container alignment */
.flex.gap-4.justify-end {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Update text colors */
.christmas-title {
    color: var(--cozy-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* Update How It Works section */
.how-it-works {
    margin-top: 3rem;
}

.how-it-works .bg-white {
    background: rgba(228, 168, 83, 0.1) !important;
    border: 1px solid var(--cozy-gold);
    padding: 1.5rem;
    margin: 1rem 0;
}

.how-it-works h2 {
    color: var(--cozy-gold);
    margin-bottom: 2rem;
}

.how-it-works h3 {
    color: var(--cozy-gold-light);
    margin-bottom: 1rem;
}

/* Fix grid spacing */
.grid.md\:grid-cols-3.gap-6 {
    gap: 2rem;
    margin-top: 2rem;
}

/* Update number circles */
.w-12.h-12.bg-blue-100,
.w-12.h-12.bg-green-100,
.w-12.h-12.bg-purple-100 {
    background: var(--cozy-gold) !important;
    color: var(--cozy-darker) !important;
    margin-bottom: 1.5rem;
}

/* Fix form transitions */
#create_room_form, #join_room_form {
    margin-top: 1rem;
    padding: 1rem 0;
}

/* Update error messages */
.text-red-500, .text-red-700 {
    color: var(--cozy-gold-light) !important;
    margin: 0.5rem 0;
} 

/* Update border radius for smoother edges */
.christmas-inner-card {
    border-radius: 30px;
    border: 2px solid var(--cozy-gold);
}

/* Update button styles for consistency */
.christmas-button {
    border-radius: 25px;
    background: linear-gradient(
        to bottom,
        var(--cozy-gold) 0%,
        var(--cozy-gold-dark) 100%
    );
    color: var(--cozy-darker);
    border: 1px solid var(--cozy-gold-dark);
}

/* Update join button to match theme */
.christmas-button[id="show_join_form"],
.back-btn {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold-dark) 0%,
        var(--cozy-darker) 100%
    ) !important;
    color: var(--cozy-light) !important;
    border: 1px solid var(--cozy-gold);
}

/* Room page specific styles */
.room-section {
    background: linear-gradient(135deg,
        rgba(42, 24, 16, 0.97) 0%,
        rgba(26, 15, 10, 0.95) 100%
    );
    border: 2px solid var(--cozy-gold);
    border-radius: 25px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Update How to Use section */
.how-to-use {
    border-color: var(--cozy-gold);
}

.how-to-use h3 {
    color: var(--cozy-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.how-to-use p, .how-to-use li {
    color: var(--cozy-light);
}

/* Update Admin section */
.admin-section {
    border-color: var(--cozy-gold);
}

.admin-section h3 {
    color: var(--cozy-gold);
}

/* Update Members section */
.members-section {
    border-color: var(--cozy-gold);
}

.members-section h3 {
    color: var(--cozy-gold);
}

.member-list li {
    color: var(--cozy-light);
    border-bottom: 1px solid rgba(228, 168, 83, 0.2);
}

/* Update room code display */
.room-code {
    background: rgba(228, 168, 83, 0.1);
    border: 2px solid var(--cozy-gold);
    border-radius: 15px;
    color: var(--cozy-gold);
    padding: 1rem;
    font-family: var(--font-christmas);
    text-align: center;
    margin: 1rem 0;
}

/* Update all inputs */
.christmas-input {
    border-radius: 20px;
}

/* Update alerts/notifications */
.alert {
    border-radius: 20px;
    border: 1px solid var(--cozy-gold);
    background: rgba(228, 168, 83, 0.1);
    color: var(--cozy-light);
}

/* Update list items */
.list-disc li::before {
    color: var(--cozy-gold);
}

/* Update share buttons */
.share-button {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold) 0%,
        var(--cozy-gold-dark) 100%
    );
    border-radius: 20px;
    color: var(--cozy-darker);
}

/* Update copy button */
.copy-button {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold-dark) 0%,
        var(--cozy-darker) 100%
    );
    border-radius: 20px;
    color: var(--cozy-light);
}

/* Update status indicators */
.status-indicator {
    background: rgba(228, 168, 83, 0.2);
    border: 1px solid var(--cozy-gold);
    border-radius: 15px;
    color: var(--cozy-light);
}

/* Update all section headers */
.section-header {
    color: var(--cozy-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

/* Update member cards */
.member-card {
    background: rgba(228, 168, 83, 0.1);
    border: 1px solid var(--cozy-gold);
    border-radius: 15px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.member-name {
    color: var(--cozy-gold);
}

.member-status {
    color: var(--cozy-light);
    opacity: 0.9;
}

/* Room page container styles */
.room-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Room sections common styles */
.room-section {
    background: linear-gradient(135deg,
        rgba(42, 24, 16, 0.97) 0%,
        rgba(26, 15, 10, 0.95) 100%
    );
    border: 2px solid var(--cozy-gold);
    border-radius: 30px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 0 30px rgba(228, 168, 83, 0.15),
        inset 0 0 50px rgba(228, 168, 83, 0.1);
}

/* Room header section */
.room-header {
    text-align: center;
    margin-bottom: 3rem;
}

.room-title {
    color: var(--cozy-gold);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

/* Room code display */
.room-code-display {
    background: linear-gradient(
        to bottom,
        rgba(228, 168, 83, 0.15) 0%,
        rgba(198, 139, 60, 0.1) 100%
    );
    border: 2px solid var(--cozy-gold);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.room-code-text {
    color: var(--cozy-gold);
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Exit room button */
.exit-room-button {
    background: linear-gradient(
        to bottom,
        rgba(228, 168, 83, 0.2) 0%,
        rgba(26, 15, 10, 0.4) 100%
    );
    border: 2px solid var(--cozy-gold);
    color: var(--cozy-gold);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.exit-room-button:hover {
    background: linear-gradient(
        to bottom,
        rgba(228, 168, 83, 0.3) 0%,
        rgba(26, 15, 10, 0.5) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 168, 83, 0.2);
}

/* Members list styling */
.members-list {
    background: rgba(228, 168, 83, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
}

.member-item {
    border-bottom: 1px solid rgba(228, 168, 83, 0.2);
    padding: 1rem;
    color: var(--cozy-light);
}

.member-item:last-child {
    border-bottom: none;
}

/* Admin controls */
.admin-controls {
    background: rgba(228, 168, 83, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* Start raffle button */
.start-raffle-button {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold) 0%,
        var(--cozy-gold-dark) 100%
    );
    color: var(--cozy-darker);
    font-weight: bold;
    border-radius: 25px;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(228, 168, 83, 0.2);
}

.start-raffle-button:hover {
    background: linear-gradient(
        to bottom,
        var(--cozy-gold-light) 0%,
        var(--cozy-gold) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 168, 83, 0.3);
}

/* Section headers */
.section-title {
    color: var(--cozy-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Status badges */
.status-badge {
    background: rgba(228, 168, 83, 0.15);
    border: 1px solid var(--cozy-gold);
    color: var(--cozy-gold);
    border-radius: 15px;
    padding: 0.25rem 1rem;
    font-size: 0.9rem;
}

/* Instructions section */
.instructions {
    color: var(--cozy-light);
    line-height: 1.6;
}

.instructions li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.instructions li::before {
    content: '✧';
    color: var(--cozy-gold);
    position: absolute;
    left: 0;
}

/* IndieVoice Badge Styling */
.indie-voice-badge {
    position: relative;
    padding: 8px;
    background: linear-gradient(
        to bottom,
        rgba(228, 168, 83, 0.15) 0%,
        rgba(198, 139, 60, 0.1) 100%
    );
    border-radius: 15px;
    border: 2px solid var(--cozy-gold);
    box-shadow: 
        0 4px 15px rgba(228, 168, 83, 0.15),
        inset 0 0 20px rgba(228, 168, 83, 0.1);
    transition: all 0.3s ease;
}

.indie-voice-badge::before,
.indie-voice-badge::after {
    content: '✨';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.8;
    color: var(--cozy-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.indie-voice-badge::before {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.indie-voice-badge::after {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.badge-container {
    display: block;
    transition: transform 0.3s ease;
}

.badge-container:hover {
    transform: translateY(-2px);
}

.indie-badge {
    display: block;
    border-radius: 10px;
    filter: drop-shadow(0 2px 4px rgba(228, 168, 83, 0.2));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.indie-voice-badge:hover {
    box-shadow: 
        0 6px 20px rgba(228, 168, 83, 0.2),
        inset 0 0 30px rgba(228, 168, 83, 0.15);
    border-color: var(--cozy-gold-light);
}

/* Add festive animation on hover */
.indie-voice-badge:hover::before {
    animation: sparkleLeft 1s ease infinite;
}

.indie-voice-badge:hover::after {
    animation: sparkleRight 1s ease infinite;
}

@keyframes sparkleLeft {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(-15deg); }
}

@keyframes sparkleRight {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(15deg); }
} 

.copy-icon,
.check-icon {
    transition: all 0.3s ease;
}

.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

#copy_button svg:not(.hidden) {
    display: block;
    opacity: 1;
    transform: scale(1);
}

#wishlist_save_text {
    transition: opacity 0.2s ease;
}

#wishlist_tick {
    transition: all 0.2s ease;
}

.christmas-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Fix for the save button hover state */
.christmas-button .gradient-overlay {
    z-index: 1;
}

#wishlist_save_text, #wishlist_tick {
    z-index: 2;
}
