:root {
    --color-primary: #0098DB;
    --color-secondary: #FF6B2C;
    --color-accent-yellow: #FFD700;
    --color-dark: #1a1a2e;
    --color-darker: #0f0f1c;
    --color-text: #e0e0e0;
    --gradient-bg: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
    animation: loadingPulse 2s ease-in-out infinite;
}

.fortnite-logo {
    margin-bottom: 40px;
}

.logo-image {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 20px #ff6b2c);
    animation: logoSpin 3s linear infinite;
}

.loading-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #ff6b2c;
    margin: 20px 0 10px 0;
    text-shadow: 0 0 20px #ff6b2c;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.loading-subtitle {
    font-size: 1.2rem;
    color: #4A90E2;
    margin: 0;
    font-weight: 600;
}

.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b2c, #4A90E2, #ff6b2c);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: progressFill 4s ease-in-out forwards, progressShine 2s linear infinite;
}

.loading-text {
    color: #c0c0c0;
    font-size: 0.9rem;
    animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px #ff6b2c; }
    100% { text-shadow: 0 0 30px #ff6b2c, 0 0 40px #ff6b2c; }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.mm-image {
    position: fixed;
    bottom: -200px;
    right: 20px;
    z-index: -1;
    pointer-events: none;
}

.mm-logo {
    width: 1000px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 152, 219, 0.7));
}

.mm-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 152, 219, 0.8));
}

.lam-image {
    position: fixed;
    bottom: -300px;
    left: 20px;
    z-index: -1;
    pointer-events: none;
    animation: slideUpDownLam 6s ease-in-out forwards;
    animation-delay: 1s;
}

.lam-logo {
    width: 200px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

@keyframes slideUpDownLam {
    0% {
        bottom: -300px;
        opacity: 0.8;
    }
    50% {
        bottom: -100px;
        opacity: 0.8;
    }
    100% {
        bottom: -300px;
        opacity: 0.8;
    }
}

.container {
    text-align: center;
    padding: 0 20px 80px 20px;
    max-width: 900px;
    width: 100%;
    z-index: 10;
    position: relative;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@keyframes title-glow {
    0% { text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary); }
    50% { text-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary), 0 0 60px rgba(0, 152, 219, 0.5); }
    100% { text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary); }
}

@keyframes pulse-crate-glow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 50px rgba(0, 152, 219, 0.8)); }
}

@keyframes fallingLeaf {
    0% { 
        transform: translateY(-100px) rotate(-15deg) scale(0.8);
        opacity: 0;
    }
    20% { 
        transform: translateY(-80px) rotate(-10deg) scale(0.85);
        opacity: 0.3;
    }
    40% { 
        transform: translateY(-60px) rotate(-5deg) scale(0.9);
        opacity: 0.6;
    }
    60% { 
        transform: translateY(-40px) rotate(0deg) scale(0.95);
        opacity: 0.8;
    }
    80% { 
        transform: translateY(-20px) rotate(2deg) scale(0.98);
        opacity: 0.9;
    }
    100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes fastSpinning {
    0% { transform: rotate(-40deg) scale(1); }
    25% { transform: rotate(40deg) scale(1.1); }
    50% { transform: rotate(-40deg) scale(0.9); }
    75% { transform: rotate(40deg) scale(1.1); }
    100% { transform: rotate(-40deg) scale(1); }
}

@keyframes slowShaking {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    10% { transform: translate(-2px, -2px) rotate(-0.5deg); }
    20% { transform: translate(2px, 2px) rotate(0.5deg); }
    30% { transform: translate(-1px, 1px) rotate(-0.3deg); }
    40% { transform: translate(1px, -1px) rotate(0.3deg); }
    50% { transform: translate(-1px, -1px) rotate(-0.2deg); }
    60% { transform: translate(1px, 1px) rotate(0.2deg); }
    70% { transform: translate(-0.5px, 0.5px) rotate(-0.1deg); }
    80% { transform: translate(0.5px, -0.5px) rotate(0.1deg); }
    90% { transform: translate(-0.5px, -0.5px) rotate(-0.1deg); }
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    20%, 60% { transform: translate(-5px, -5px) rotate(-1deg); }
    40%, 80% { transform: translate(5px, 5px) rotate(1deg); }
}

@keyframes text-glitch {
    0% { transform: translate(0); opacity: 1; }
    5% { transform: translate(-2px, -2px); opacity: 0.9; }
    10% { transform: translate(2px, 2px); opacity: 0.8; }
    15% { transform: translate(0); opacity: 1; }
    100% { transform: translate(0); opacity: 1; }
}

@keyframes rotateLight {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero {
    margin-bottom: 50px;
    margin-top: 30px;
    position: relative;
    padding-bottom: 20px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent-yellow);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--color-accent-yellow);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    animation: title-glow 2s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 40px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1rem;
    }
}

.crate-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    min-height: 500px;
    position: relative;
}

.crate-box {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.crate-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center, rgba(255, 198, 0, 0.15) 0%, transparent 70%);
    animation: rotateLight 15s linear infinite;
    opacity: 0.8;
}

.crate-box:hover {
    transform: scale(1.08) translateY(-5px);
}

.crate-box.opened {
    cursor: default;
    animation: none;
    transform: scale(0.1) rotateY(180deg);
    opacity: 0;
    pointer-events: none;
}

.crate-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse-crate-glow 2.5s ease-in-out infinite alternate;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.crate-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse-crate-glow 2.5s ease-in-out infinite alternate;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.crate-icon {
    width: 150%;
    height: 150%;
    object-fit: contain;
    animation: pulse-crate-glow 2.5s ease-in-out infinite alternate, rgbColorShift 3s linear infinite;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

@keyframes rgbColorShift {
    0% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #ff0000) drop-shadow(0 0 20px #ff0000);
    }
    16.66% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #ff8000) drop-shadow(0 0 20px #ff8000);
    }
    33.33% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #ffff00) drop-shadow(0 0 20px #ffff00);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #00ff00) drop-shadow(0 0 20px #00ff00);
    }
    66.66% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #00ffff) drop-shadow(0 0 20px #00ffff);
    }
    83.33% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #8000ff) drop-shadow(0 0 20px #8000ff);
    }
    100% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 152, 219, 0.5)) drop-shadow(0 0 12px #ff0000) drop-shadow(0 0 20px #ff0000);
    }
}

.crate-box.falling {
    animation: fallingLeaf 1.2s ease-out forwards;
}

.crate-box.fast-spinning {
    animation: fastSpinning 1s infinite linear;
}

.crate-box.slow-shaking {
    animation: slowShaking 0.3s infinite alternate;
}

.crate-box.shaking {
    animation: shake 0.2s 5 alternate; 
}

.crate-box.opened {
    transform: scale(0.1) rotateY(180deg);
    opacity: 0;
    pointer-events: none;
}

.cta-button {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ffb347, #ffa500, #ff8c00);
    color: #2c1810;
    border: 2px solid #ff6b00;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 0 25px #ffa500,
        0 0 50px rgba(255, 165, 0, 0.9),
        0 0 75px rgba(255, 165, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.8);
    font-stretch: expanded;
    -webkit-text-stroke: 0.5px #1a0f0a;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 40px #ffa500,
        0 0 80px rgba(255, 165, 0, 1),
        0 0 120px rgba(255, 165, 0, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffc966, #ffb347, #ff9500);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 0 35px #ffa500,
        0 0 70px rgba(255, 165, 0, 0.9),
        0 0 100px rgba(255, 165, 0, 0.7),
        0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffb347, #ffa500, #ff8c00);
}

.cta-button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

#result-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.result-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: modalSlideIn 0.6s forwards 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.3);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.result-content.show {
    opacity: 1;
    transform: scale(1);
}

#result-section.show {
    display: flex !important;
    opacity: 1 !important;
}

.fortnite-board {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.6));
}

.prize-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.prize-text h2 {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prize-label {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

#vbucks-prize {
    font-size: 2.2rem;
    color: #4A90E2;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 15px 0;
    font-family: 'Arial', sans-serif;
}

.result-content::before {
    display: none;
}

@keyframes slideIn {
    to { transform: scale(1); opacity: 1; }
}

.result-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-secondary);
    font-size: 3rem;
    margin-bottom: 25px;
    animation: result-glow 2.2s ease-in-out infinite alternate;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .result-content h2 {
        font-size: 2rem;
    }
}

@keyframes result-glow {
    0% { text-shadow: 0 0 10px var(--color-secondary), 0 0 20px rgba(255, 107, 44, 0.5); }
    50% { text-shadow: 0 0 20px var(--color-secondary), 0 0 40px rgba(255, 107, 44, 0.8), 0 0 60px rgba(255, 107, 44, 0.6); }
    100% { text-shadow: 0 0 10px var(--color-secondary), 0 0 20px rgba(255, 107, 44, 0.5); }
}

.vbucks-image-result {
    max-width: 100%;
    width: 350px;
    margin: 25px 0;
    filter: drop-shadow(0 0 15px var(--color-accent-yellow));
    transition: transform 0.3s ease-out;
}

.vbucks-image-result:hover {
    transform: scale(1.05);
}

#vbucks-prize {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--color-accent-yellow);
    margin-top: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--color-accent-yellow);
}

@media (max-width: 768px) {
    #vbucks-prize {
        font-size: 2.5rem;
    }
}

.claim-button {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ffb347, #ffa500, #ff8c00);
    color: #2c1810;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 0 25px #ffa500,
        0 0 50px rgba(255, 165, 0, 0.9),
        0 0 75px rgba(255, 165, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 35px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    border: 2px solid #ff6b00;
    font-stretch: normal;
    transform: perspective(100px) rotateX(2deg);
}

.claim-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 40px #ffa500,
        0 0 80px rgba(255, 165, 0, 1),
        0 0 120px rgba(255, 165, 0, 0.8),
        0 12px 35px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff9500, #ffb347, #ffc966);
}

.claim-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 0 35px #ffa500,
        0 0 70px rgba(255, 165, 0, 0.9),
        0 0 100px rgba(255, 165, 0, 0.7),
        0 4px 15px rgba(0, 0, 0, 0.2);
    background: #ff9500;
}

.footer {
    margin-top: 80px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 152, 219, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.live-prize-feed {
    width: 100vw;
    overflow: hidden;
    background: rgba(0, 152, 219, 0.05);
    border: 1px solid rgba(0, 152, 219, 0.2);
    border-radius: 0;
    padding: 10px 0;
    margin: 0;
    position: relative;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    padding: 0 20px;
}

.login-button-container {
    width: 100vw;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px 0 20px;
    margin: 0;
    z-index: 10;
    position: relative;
}

.login-button {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ffb347, #ffa500, #ff8c00);
    color: #2c1810;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 0 25px #ffa500,
        0 0 50px rgba(255, 165, 0, 0.9),
        0 0 75px rgba(255, 165, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.8);
    border: 2px solid #ff6b00;
    font-stretch: expanded;
    transform: perspective(100px) rotateX(2deg);
    -webkit-text-stroke: 0.5px #1a0f0a;
    text-decoration: none;
    display: inline-block;
}

.login-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 40px #ffa500,
        0 0 80px rgba(255, 165, 0, 1),
        0 0 120px rgba(255, 165, 0, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.3);
    background: #ffb347;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
    box-shadow: 0 0 10px #ff0000;
}

@keyframes pulse-red {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.prize-stream {
    display: flex;
    width: max-content;
    animation: scroll 90s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.prize-item {
    display: flex;
    align-items: center;
    margin: 0 25px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(0, 152, 219, 0.15);
    font-size: 0.9rem;
    color: #c0c0c0;
    flex-shrink: 0;
    min-width: 200px;
    justify-content: center;
}

.prize-item span {
    color: #e0e0e0;
    margin-left: 5px;
}

.prize-item img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid rgba(0, 152, 219, 0.3);
    background-image: url('https://cdn2.unrealengine.com/vbucks-686x388-45ae9872dd25.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        padding: 0 10px 60px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero {
        margin-top: 20px;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero p {
        font-size: 0.8rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .crate-section {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .crate-box {
        width: 200px;
        height: 200px;
    }
    
    .crate-icon {
        width: 110%;
        height: 110%;
    }
    
    .cta-button {
        font-size: 1.3rem;
        padding: 10px 20px;
        margin-top: 20px;
        white-space: nowrap;
    }
    
    .claim-button {
        font-size: 1.2rem;
        padding: 10px 18px;
        margin-top: 20px;
    }
    
    .result-content {
        transform: scale(0.6);
        padding: 5px;
        width: 100vw;
        height: 100vh;
    }
    
    .fortnite-board {
        max-width: 90%;
        width: 90%;
    }
    
    .prize-text {
        width: 80%;
    }
    
    .prize-text h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .vbucks-image-result {
        width: 150px;
        margin: 10px 0;
    }
    
    #vbucks-prize {
        font-size: 1.3rem;
    }
    
    .live-prize-feed {
        margin: 0 0 15px 0;
        padding: 8px 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        left: auto;
        right: auto;
        position: relative;
        overflow: hidden;
    }
    
    .live-indicator {
        padding: 0 10px;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .live-dot {
        width: 8px;
        height: 8px;
    }
    
    .login-button-container {
        width: 100%;
        max-width: 100%;
        padding: 8px 10px 0 10px;
        box-sizing: border-box;
    }
    
    .login-button {
        font-size: 0.9rem;
        padding: 7px 14px;
        white-space: nowrap;
    }
    
    .prize-stream {
        animation: scroll 40s linear infinite;
        will-change: transform;
    }
    
    .prize-item {
        margin: 0 6px;
        padding: 4px 6px;
        font-size: 0.65rem;
        min-width: 90px;
    }
    
    .prize-item img {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }
    
    .footer {
        margin-top: 25px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer p {
        font-size: 0.55rem;
        line-height: 1.3;
    }
    
    .mm-image {
        display: none;
    }
    
    .mm-logo {
        display: none;
    }
    
    .lam-image {
        left: 5px;
        bottom: -250px;
    }
    
    .lam-logo {
        width: 100px;
    }
    
    #particles-js {
        display: block;
        opacity: 0.6;
    }
}

#message {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 25px;
    min-height: 30px;
    animation: text-glitch 4s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
    .loading-title {
        font-size: 2.2rem;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .loading-progress {
        width: 250px;
    }
    
    .crate-box {
        width: 320px;
        height: 320px;
    }
    
    .crate-box::before {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .crate-box {
        width: 280px;
        height: 280px;
    }
    
    .crate-box::before {
        width: 300px;
        height: 300px;
    }
}
