/* Windows 95/98 Retro Theme */
:root {
    /* Win95 Color Palette */
    --win-bg: #008080;
    --win-silver: #c0c0c0;
    --win-dark-silver: #a0a0a0;
    --win-white: #ffffff;
    --win-black: #000000;
    --win-shadow: #808080;
    --win-dark-shadow: #404040;
    --win-title-active: #000080;
    --win-title-inactive: #808080;
    --win-title-text: #ffffff;
    --win-button-face: #c0c0c0;
    --win-input-bg: #ffffff;
    --win-highlight: #000080;
    --win-link: #0000ff;
    --win-error: #ff0000;
    --win-success: #008000;
}

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

/* Classic Win95 System Font */
@font-face {
    font-family: 'W95FA';
    src: local('MS Sans Serif'), local('Tahoma'), local('Arial');
}

body {
    font-family: 'Segoe UI', Tahoma, 'MS Sans Serif', sans-serif;
    font-size: 11px;
    background-color: var(--win-bg);
    color: var(--win-black);
    height: 100vh;
    overflow: hidden;
    image-rendering: pixelated;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ============================================
   WIN95 TASKBAR / NAVIGATION
   ============================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    background: var(--win-silver);
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-dark-shadow);
    border-right: 2px solid var(--win-dark-shadow);
    height: 28px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 11px;
    font-weight: bold;
    color: var(--win-black);
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    padding: 2px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ff0000 25%, #00ff00 25%, #00ff00 50%, #0000ff 50%, #0000ff 75%, #ffff00 75%);
    border: 1px solid var(--win-black);
}

.logo:active {
    border: 2px inset var(--win-silver);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-links a {
    color: var(--win-black);
    text-decoration: none;
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    padding: 2px 12px;
    font-size: 11px;
}

.nav-links a:hover {
    background: var(--win-dark-silver);
}

.nav-links a:active,
.nav-links a.active {
    border: 2px inset var(--win-silver);
    background: var(--win-dark-silver);
}

/* ============================================
   MAIN CONTENT AREA (DESKTOP)
   ============================================ */
main {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 44px;
    background: var(--win-bg);
}

/* ============================================
   WIN95 WINDOW PANEL (replaces glass-panel)
   ============================================ */
.glass-panel,
.win-window {
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    box-shadow:
        inset -1px -1px 0 var(--win-dark-shadow),
        inset 1px 1px 0 var(--win-white),
        2px 2px 0 rgba(0, 0, 0, 0.3);
    padding: 0;
    position: relative;
}

/* Window Title Bar */
.glass-panel::before,
.win-window::before {
    content: attr(data-title);
    display: block;
    background: linear-gradient(90deg, var(--win-title-active), #1084d0);
    color: var(--win-title-text);
    font-weight: bold;
    padding: 3px 4px;
    font-size: 11px;
    margin: 2px;
    display: flex;
    align-items: center;
}

/* Window content padding */
.glass-panel > *:not(h2):not(h3),
.win-window > *:not(h2):not(h3) {
    padding-left: 8px;
    padding-right: 8px;
}

.glass-panel > *:last-child,
.win-window > *:last-child {
    padding-bottom: 8px;
}

/* ============================================
   AUTH CONTAINER (Login/Register)
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.auth-container .glass-panel {
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.auth-container .glass-panel::before {
    content: 'Neon Mixer - Connexion';
}

.auth-container h2 {
    font-size: 14px;
    margin: 8px;
    color: var(--win-black);
    font-weight: bold;
    background: var(--win-silver);
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
    padding: 4px 8px;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
}

input,
textarea {
    background: var(--win-input-bg);
    border: 2px inset var(--win-silver);
    padding: 4px 6px;
    color: var(--win-black);
    font-family: 'Segoe UI', Tahoma, 'MS Sans Serif', sans-serif;
    font-size: 11px;
    outline: none;
}

input:focus,
textarea:focus {
    outline: 1px dotted var(--win-black);
    outline-offset: -3px;
}

input::placeholder {
    color: var(--win-shadow);
    text-transform: none;
    font-size: 11px;
    letter-spacing: normal;
}

input:disabled {
    background: var(--win-silver);
    color: var(--win-shadow);
}

textarea {
    resize: vertical;
    min-height: 60px;
}

/* ============================================
   WIN95 BUTTONS
   ============================================ */
.btn-neon,
button {
    background: var(--win-button-face);
    border: 2px outset var(--win-silver);
    color: var(--win-black);
    padding: 4px 16px;
    cursor: pointer;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: 11px;
    font-family: 'Segoe UI', Tahoma, 'MS Sans Serif', sans-serif;
    min-width: 75px;
    text-align: center;
    box-shadow: none;
}

.btn-neon:hover,
button:hover {
    background: var(--win-silver);
}

.btn-neon:active,
button:active {
    border: 2px inset var(--win-silver);
}

.btn-neon:focus,
button:focus {
    outline: 1px dotted var(--win-black);
    outline-offset: -4px;
}

.btn-large {
    font-size: 12px;
    padding: 6px 24px;
    font-weight: bold;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--win-link);
    text-decoration: underline;
}

a:hover {
    color: var(--win-highlight);
}

a:visited {
    color: #800080;
}

.glass-panel p {
    color: var(--win-black);
    margin-top: 8px;
    padding: 0 8px;
    font-size: 11px;
}

.glass-panel a {
    font-weight: normal;
    letter-spacing: normal;
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================
   BAR VIEW - 3 COLUMN LAYOUT
   ============================================ */
.bar-layout {
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    gap: 8px;
    height: calc(100% - 20px);
}

/* Ingredients Panel Title */
.ingredients-panel.glass-panel::before {
    content: 'Alcools & Mixers';
}

.ingredients-panel h3 {
    display: none;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 4px;
    margin-top: 8px;
    padding: 8px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.ingredient-item {
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    padding: 4px;
    text-align: center;
    cursor: grab;
    font-size: 10px;
}

.ingredient-item:hover {
    background: var(--win-dark-silver);
}

.ingredient-item:active {
    border: 2px inset var(--win-silver);
}

.ingredient-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0 auto 4px;
    image-rendering: pixelated;
    filter: none;
}

/* ============================================
   MIXING STATION
   ============================================ */
.mixing-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--win-silver);
    border: 2px inset var(--win-silver);
    padding: 16px;
}

.shaker-area {
    width: 260px;
    height: 320px;
    border: 2px inset var(--win-silver);
    background: var(--win-input-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    position: relative;
}

.shaker-area.drag-over {
    background: #e0e0ff;
    border-color: var(--win-highlight);
}

/* Retro Shaker Visual */
.shaker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.shaker-cap {
    width: 30px;
    height: 15px;
    background: linear-gradient(to bottom, #e0e0e0, #a0a0a0);
    border: 1px solid var(--win-black);
    border-radius: 4px 4px 0 0;
}

.shaker-body {
    width: 50px;
    height: 80px;
    background: linear-gradient(to right, #d0d0d0, #f0f0f0, #d0d0d0);
    border: 1px solid var(--win-black);
    border-top: none;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.3s;
}

.drop-zone {
    text-align: center;
    flex: 1;
    width: 100%;
}

.drop-zone p {
    color: var(--win-shadow);
    margin-bottom: 8px;
    font-size: 11px;
    padding: 0;
}

#currentMix {
    list-style: none;
    text-align: center;
}

#currentMix li {
    background: var(--win-silver);
    border: 1px solid var(--win-shadow);
    padding: 2px 8px;
    margin: 2px;
    font-size: 10px;
    display: inline-block;
}

/* ============================================
   RECIPES PANEL
   ============================================ */
.recipes-panel.glass-panel::before {
    content: 'Livre de Recettes';
}

.recipes-panel h3 {
    display: none;
}

.recipes-list {
    margin-top: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.recipe-card {
    background: var(--win-input-bg);
    border: 1px solid var(--win-shadow);
    padding: 8px;
    border-left: 4px solid var(--win-shadow);
}

.recipe-card.secret {
    border-left-color: #800080;
    background: #fff0ff;
}

.recipe-card h4 {
    color: var(--win-highlight);
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: bold;
}

.recipe-card.secret h4 {
    color: #800080;
}

.recipe-card p {
    font-size: 10px;
    margin-bottom: 4px;
    padding: 0;
}

.recipe-card small {
    font-size: 9px;
    color: var(--win-shadow);
}

/* ============================================
   PROFILE VIEW
   ============================================ */
.profile-container {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.profile-container .glass-panel {
    width: 100%;
    max-width: 400px;
}

.profile-container .glass-panel::before {
    content: 'Profil Membre';
}

.profile-container h2 {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    padding: 4px 8px;
}

.form-group label {
    color: var(--win-black);
    font-size: 11px;
    font-weight: normal;
}

/* ============================================
   NOTIFICATIONS (WIN95 DIALOG STYLE)
   ============================================ */
#notificationArea {
    position: fixed;
    bottom: 40px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
    z-index: 999;
}

.notification {
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    padding: 8px 16px;
    color: var(--win-black);
    font-size: 11px;
    animation: win95-popup 0.1s ease-out;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification::before {
    content: 'i';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--win-highlight);
    color: var(--win-white);
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-weight: bold;
    font-size: 10px;
}

@keyframes win95-popup {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   WIN95 SCROLLBARS
   ============================================ */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: repeating-comb(var(--win-silver));
    background-image:
        linear-gradient(45deg, var(--win-silver) 25%, transparent 25%),
        linear-gradient(-45deg, var(--win-silver) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--win-dark-silver) 75%),
        linear-gradient(-45deg, transparent 75%, var(--win-dark-silver) 75%);
    background-size: 2px 2px;
    background-color: var(--win-input-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--win-dark-silver);
}

::-webkit-scrollbar-button {
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-corner {
    background: var(--win-silver);
}

/* ============================================
   ADDITIONAL WIN95 DECORATIONS
   ============================================ */

/* Horizontal rule - Win95 style */
hr {
    border: none;
    border-top: 1px solid var(--win-shadow);
    border-bottom: 1px solid var(--win-white);
    margin: 8px 0;
}

/* Fieldset - Win95 style groupbox */
fieldset {
    border: 2px groove var(--win-silver);
    padding: 8px;
    margin: 8px 0;
}

fieldset legend {
    padding: 0 4px;
    background: var(--win-silver);
}

/* Selection highlight */
::selection {
    background: var(--win-highlight);
    color: var(--win-white);
}

/* Checkbox and Radio - Win95 style */
input[type="checkbox"],
input[type="radio"] {
    width: 13px;
    height: 13px;
    border: 2px inset var(--win-silver);
    background: var(--win-input-bg);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    text-align: center;
    line-height: 9px;
    font-size: 11px;
    color: var(--win-black);
}

input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: var(--win-black);
    border-radius: 50%;
    margin: 2px auto;
}

/* Register view title */
#register-view .glass-panel::before,
.auth-container:has(#registerForm) .glass-panel::before {
    content: 'Neon Mixer - Inscription';
}

/* Cursor styles */
* {
    cursor: default;
}

a, button, .btn-neon, .ingredient-item, .logo, .nav-links a {
    cursor: pointer;
}

input, textarea {
    cursor: text;
}

.ingredient-item {
    cursor: grab;
}

.ingredient-item:active {
    cursor: grabbing;
}

/* ============================================
   ADDITIONAL WIN95 WINDOW ELEMENTS
   ============================================ */

/* Window content wrapper */
.window-content {
    padding: 8px;
}

/* Button row for dialogs */
.button-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 0;
}

/* Win95 Icon placeholders */
.win-icon-row {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.win-key-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffff00 0%, #ff8000 100%);
    border: 2px solid #808080;
    border-radius: 2px;
    position: relative;
}

.win-key-icon::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: #404040;
    border-radius: 0 0 2px 2px;
}

.win-user-icon {
    width: 32px;
    height: 32px;
    background: var(--win-silver);
    border: 2px solid #808080;
    border-radius: 2px;
    position: relative;
}

.win-user-icon::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000080;
    border-radius: 50%;
}

.win-user-icon::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 10px;
    background: #000080;
    border-radius: 8px 8px 0 0;
}

/* Mixing station title bar */
.station-title {
    background: linear-gradient(90deg, var(--win-title-active), #1084d0);
    color: var(--win-title-text);
    font-weight: bold;
    padding: 3px 8px;
    font-size: 11px;
    margin-bottom: 8px;
    text-align: center;
    border: 1px solid var(--win-shadow);
}

/* Desktop icons style for ingredients */
.ingredient-item span {
    display: block;
    margin-top: 2px;
    word-break: break-word;
    line-height: 1.2;
}

/* Win95 window close button (decorative) */
.glass-panel::after {
    content: 'X';
    position: absolute;
    top: 4px;
    right: 6px;
    width: 16px;
    height: 14px;
    background: var(--win-silver);
    border: 2px outset var(--win-silver);
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    line-height: 10px;
    color: var(--win-black);
    cursor: pointer;
}

.glass-panel:active::after {
    border: 2px inset var(--win-silver);
}

/* Win95 3D group box for forms */
.form-group {
    background: transparent;
}

.form-group label {
    margin-bottom: 2px;
}

/* Status bar style text */
.auth-container p {
    font-size: 10px;
    color: var(--win-shadow);
    margin: 4px 0;
}

/* Retro hover effects */
.ingredient-item:hover .ingredient-img {
    transform: none;
    filter: brightness(1.1);
}

/* Recipe card enhancements */
.recipe-card h4::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,' + encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><rect x="2" y="2" width="12" height="12" fill="#ffff00" stroke="#808080"/><rect x="4" y="6" width="8" height="1" fill="#000"/><rect x="4" y="9" width="6" height="1" fill="#000"/></svg>')) no-repeat center;
    background-size: contain;
    margin-right: 4px;
    vertical-align: middle;
}

.recipe-card.secret h4::before {
    background: url('data:image/svg+xml,' + encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><rect x="2" y="2" width="12" height="12" fill="#ff00ff" stroke="#808080"/><text x="8" y="12" text-anchor="middle" font-size="10" fill="#fff">?</text></svg>')) no-repeat center;
    background-size: contain;
}

/* Win95 disabled state */
button:disabled,
.btn-neon:disabled {
    color: var(--win-shadow);
    text-shadow: 1px 1px 0 var(--win-white);
}

/* Progress/loading simulation */
@keyframes win95-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Ensure proper stacking */
.auth-container .glass-panel {
    position: relative;
}

/* Mobile responsiveness - keep Win95 feel */
@media (max-width: 900px) {
    .bar-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .ingredients-grid {
        max-height: 200px;
    }

    .recipes-list {
        max-height: 200px;
    }

    .shaker-area {
        height: 250px;
    }
}

/* Classic Win95 focus rectangle */
button:focus,
a:focus {
    outline: 1px dotted var(--win-black);
    outline-offset: -4px;
}

/* Taskbar clock area simulation */
nav::after {
    content: '';
    display: block;
    width: 60px;
    height: 20px;
    background: var(--win-silver);
    border: 2px inset var(--win-silver);
    margin-left: auto;
}

/* ============================================
   RETRO FLAG CELEBRATION - 90s GEOCITIES STYLE
   ============================================ */
.flag-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000080;
    background-image: url('data:image/gif;base64,R0lGODlhCgAKAIAAAAAAAP///yH5BAAAAAAALAAAAAAKAAoAAAIRhI+py+0Po5y02ouz3rz7rxUAOw==');
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
}

/* Starfield background */
.flag-celebration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, yellow, transparent),
        radial-gradient(2px 2px at 50px 160px, white, transparent),
        radial-gradient(2px 2px at 90px 40px, cyan, transparent),
        radial-gradient(2px 2px at 130px 80px, magenta, transparent),
        radial-gradient(2px 2px at 160px 120px, white, transparent),
        radial-gradient(3px 3px at 200px 50px, yellow, transparent),
        radial-gradient(2px 2px at 250px 130px, lime, transparent),
        radial-gradient(2px 2px at 300px 90px, white, transparent);
    background-size: 350px 200px;
    animation: twinkle 3s infinite;
}

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

/* Main celebration content */
.flag-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

/* CONGRATULATIONS text - rainbow animated */
.flag-congrats {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    animation: rainbow 0.5s linear infinite, bounce 0.5s ease-in-out infinite alternate;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
    margin-bottom: 20px;
}

@keyframes rainbow {
    0% { color: #ff0000; }
    14% { color: #ff7f00; }
    28% { color: #ffff00; }
    42% { color: #00ff00; }
    57% { color: #0000ff; }
    71% { color: #4b0082; }
    85% { color: #9400d3; }
    100% { color: #ff0000; }
}

@keyframes bounce {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-10px) scale(1.05); }
}

/* Blink text */
.flag-blink {
    animation: blink 0.3s step-end infinite;
    color: #ffff00;
    font-size: 24px;
    margin: 10px 0;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Marquee container */
.flag-marquee {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    padding: 5px 0;
    margin: 15px 0;
}

.flag-marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 8s linear infinite;
    color: #ffffff;
    font-size: 18px;
    text-shadow: 2px 2px 0 #000;
}

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

/* The actual FLAG display */
.flag-value {
    background: #000;
    border: 4px dashed #ff00ff;
    padding: 20px 30px;
    margin: 20px auto;
    max-width: 90%;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff; }
    to { box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff; }
}

/* Dancing icons */
.flag-dancers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-size: 40px;
}

.flag-dancer {
    animation: dance 0.4s ease-in-out infinite alternate;
    display: inline-block;
}

.flag-dancer:nth-child(2) { animation-delay: 0.1s; }
.flag-dancer:nth-child(3) { animation-delay: 0.2s; }
.flag-dancer:nth-child(4) { animation-delay: 0.3s; }
.flag-dancer:nth-child(5) { animation-delay: 0.4s; }

@keyframes dance {
    from { transform: translateY(0) rotate(-10deg); }
    to { transform: translateY(-15px) rotate(10deg); }
}

/* Spinning trophy */
.flag-trophy {
    font-size: 80px;
    animation: spin3d 2s linear infinite;
    display: inline-block;
    margin: 10px;
}

@keyframes spin3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Under construction GIF style */
.flag-construction {
    color: #ffff00;
    font-size: 14px;
    margin-top: 20px;
    animation: blink 1s step-end infinite;
}

/* Close button - 90s style */
.flag-close {
    margin-top: 30px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 18px;
    padding: 10px 30px;
    background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
    border: 3px outset #c0c0c0;
    color: #000;
    cursor: pointer;
    animation: pulse 1s infinite;
}

.flag-close:hover {
    background: linear-gradient(180deg, #ffff00 0%, #ff8800 100%);
}

.flag-close:active {
    border-style: inset;
}

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

/* Visitor counter style */
.flag-visitor {
    margin-top: 15px;
    padding: 5px 15px;
    background: #000;
    border: 2px ridge #808080;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Fireworks effect */
.firework {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: firework 1.5s ease-out infinite;
}

@keyframes firework {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

.firework:nth-child(1) { left: 10%; top: 20%; background: #ff0000; animation-delay: 0s; }
.firework:nth-child(2) { left: 80%; top: 30%; background: #00ff00; animation-delay: 0.3s; }
.firework:nth-child(3) { left: 30%; top: 70%; background: #0000ff; animation-delay: 0.6s; }
.firework:nth-child(4) { left: 70%; top: 60%; background: #ffff00; animation-delay: 0.9s; }
.firework:nth-child(5) { left: 50%; top: 40%; background: #ff00ff; animation-delay: 1.2s; }
