```css

/* Base styles - Mobile First */
html {
    max-width: 100vw;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%) !important;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%) !important;
    /* Explicitly set gradient */
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    line-height: 1.6;
    padding: 10px;
    padding-bottom: 20px;
}

/* Debug rule to identify white background source */
body::after {
    content: '';
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: red;
    z-index: 9999;
    font-size: 12px;
}

.font-fredoka {
    font-family: 'Fredoka One', cursive;
}

/* Popup styles */
.popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    width: 300px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 18px;
    line-height: 1.4;
    color: #f8fafc;
}

.popup::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #1e293b;
}

.tiktok-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('../images/tiktokicon.webp');
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 5px;
    vertical-align: middle;
}

.three-dots {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #666;
    border-radius: 50%;
    margin: 0 5px;
    position: relative;
    vertical-align: middle;
}

.three-dots::after {
    content: '⋯';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.highlight {
    color: rgb(0, 122, 255);
    font-weight: bold;
}

/* Generator Modal Custom Styles */
#generator-modal {
    background: transparent !important;
}

#generator-modal .modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #475569;
    position: relative;
    overflow: hidden;
    animation: modal-appear 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none;
}

#generator-modal .modal-content::before {
    display: none;
}

#generator-modal .modal-content>* {
    position: relative;
    z-index: 1;
}

#generator-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #f8fafc;
    text-shadow: none;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.generator-urgent {
    color: #ff6b35 !important;
    font-weight: bold;
    animation: none !important;
}

#loading-item-img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #475569;
    background: #f8fafc;
}

.progress-bar {
    background: #1f2937;
    border-radius: 8px;
    border: 1px solid #374151;
    overflow: hidden;
    height: 12px;
    margin: 16px 0;
    width: 100%;
}

#progress-fill {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

#progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a6b4a, #6b8a6b, #8aab8a);
    border-radius: 0.5rem;
    transition: none;
    box-shadow: 0 0 20px rgba(107, 138, 107, 0.8);
}

#game-tip {
    color: #cbd5e1 !important;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

#verify-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.025em;
    outline: none;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.15);
    transition: none;
    text-transform: none;
}

#verify-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: none;
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.25);
}

.verify-btn-appear {
    animation: none;
}

#verify-btn:focus,
#verify-btn:active {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #222;
}

/* Game Logo Styling */
.game-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.game-logo {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.game-logo:hover {
    transform: none;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Professional Category Styling */
.category-section {
    margin-bottom: 3rem;
    position: relative;
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.category-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin: 2rem 0 2.5rem 0;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
}

.category-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    border-radius: 16px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
}

.category-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: none;
}

.category-title .category-icon {
    display: inline-block;
    margin-right: 0.75rem;
    font-size: 1.5rem;
    vertical-align: middle;
}

/* Weapons category specific styling */
.category-section:first-of-type .category-title {
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 50%, #dc2626 100%);
}

.category-section:first-of-type .category-title::before {
    background: linear-gradient(135deg, #f97316, #ea580c, #dc2626);
}

/* Chests category specific styling */
.category-section:nth-of-type(2) .category-title {
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #f97316 100%);
}

.category-section:nth-of-type(2) .category-title::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
}

/* Diamonds category specific styling */
.category-section:last-of-type .category-title {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.category-section:last-of-type .category-title::before {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #2563eb);
}

/* Category items container */
.category-section ul {
    position: relative;
    z-index: 1;
}

/* Professional banner */
.rainbow-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: block;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    margin: 0 auto 20px auto;
    animation: none;
    position: relative;
    overflow: hidden;
}

.rainbow-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: none;
}

.rainbow-banner-text {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 1;
    filter: none;
    -webkit-text-stroke: 0;
    text-transform: uppercase;
    line-height: 1.2;
    word-break: break-word;
    animation: none;
    position: relative;
    display: inline-block;
}

.pet-img-bg {
    position: relative;
}

/* Modal styling */
.modal-backdrop {
    background-color: transparent;
    backdrop-filter: none;
}

.price-text-old {
    color: #ff6f61;
    text-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}

/* Style for the item title with clean text */
.item-title-glow {
    color: #f8fafc;
    text-shadow: none;
}

/* Loading Animation Styles */
.loading-spinner {
    border: 4px solid rgba(74, 107, 74, 0.2);
    border-top: 4px solid #4a6b4a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

/* Pulsing animation for the modal title */
.pulse-title {
    animation: none;
}

/* Bright yellow card design with black border */
.card-bg {
    background: linear-gradient(145deg, rgba(74, 107, 74, 0.95), rgba(107, 138, 107, 0.9));
    border: 3px solid #000000;
    background-clip: padding-box;
    box-shadow:
        0 8px 32px rgba(74, 107, 74, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: none;
    position: relative;
    overflow: hidden;
}

.card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #4a6b4a, #6b8a6b, #8aab8a, #4a6b4a);
    background-size: 400% 400%;
    animation: none;
    z-index: -1;
    margin: -3px;
    border-radius: inherit;
}

.card-bg:hover {
    transform: none;
    box-shadow:
        0 20px 40px rgba(74, 107, 74, 0.4),
        0 0 30px rgba(74, 107, 74, 0.6);
}

/* Green claim button with black border */
.green-claim-button {
    background: #4a6b4a;
    border: 3px solid #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: none;
    box-shadow: 0 0 20px rgba(74, 107, 74, 0.925);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    font-weight: bold;
}

.green-claim-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: none;
}

.green-claim-button:hover {
    transform: none;
    box-shadow: 0 0 30px rgba(74, 107, 74, 0.8);
    background: #5a7a5a;
}

/* Bright yellow button styles for other buttons */
.yellow-button {
    background: #6b8a6b;
    border: 3px solid #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: none;
    box-shadow: 0 0 20px rgba(107, 138, 107, 0.5);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    font-weight: bold;
}

.yellow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: none;
}

.yellow-button:hover {
    transform: none;
    box-shadow: 0 0 30px rgba(107, 138, 107, 0.8);
    background: #7a9a7a;
}

/* Floating items background animation */
#floating-items-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.floating-item {
    position: absolute;
    opacity: 0.15;
    will-change: transform;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    filter: drop-shadow(0 0 10px rgba(74, 107, 74, 0.4));
}

/* Section headers with clean text */
.section-header,
.header-title-outline {
    color: #f8fafc;
    text-shadow: none;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

/* Modal styling with professional border */
.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    backdrop-filter: none;
}

/* Input field styling with professional border */
.yellow-input {
    background: #334155;
    border: 1px solid #64748b;
    color: #f8fafc;
    transition: none;
}

.yellow-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.yellow-input::placeholder {
    color: #94a3b8;
}

/* Text colors for better contrast */
.text-dark {
    color: #f8fafc !important;
}

.text-darker {
    color: #cbd5e1 !important;
}

.blocky-bg {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    z-index: 1;
    border: 1px solid #475569;
    box-sizing: border-box;
    outline: none;
    outline-offset: 0px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 0;
    overflow: hidden;
    min-width: 0;
    backdrop-filter: none;
    width: 100%;
    max-width: 100%;
    padding: 16px;
}

.blocky-banner-bar {
    width: 100%;
    background: linear-gradient(135deg, #1a2d1a 0%, #2d4a2d 100%);
    border-radius: 21px 21px 0 0;
    border: none;
    border-bottom: none;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px 0 20px 0;
    margin: 0 auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.blocky-banner-bar>* {
    position: relative;
    z-index: 2;
}

.blocky-banner-bar-text {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 2.1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.pet-row {
    border: 1px solid #475569;
    margin-bottom: 10px;
    transition: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
    min-width: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: none;
    width: 100%;
    box-sizing: border-box;
}

.pet-row:not(:last-child)::after {
    display: none;
}

.pet-row:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    transform: none;
    border-color: #64748b;
    z-index: 3;
}

.pet-img-bg {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    border-radius: 8px;
    border: 1px solid #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: none;
    flex-shrink: 0;
}

.pet-img-bg:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #94a3b8;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.pet-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #f8fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-right: 8px;
    word-break: break-word;
    letter-spacing: 0.3px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    position: relative;
    flex: 1;
    min-width: 0;
}

.claim-pill {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    border-radius: 6px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px 0 rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.3px;
    transition: none;
    cursor: pointer;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 70px;
    height: 36px;
    margin-left: auto;
    flex-shrink: 0;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
}

.claim-pill:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: none;
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.25), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Username Modal Styles */
.username-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 40, 60, 0.18);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.username-modal {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 20px;
    min-width: 280px;
    max-width: 90vw;
    text-align: center;
    position: relative;
    border: 1px solid #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: none;
}

.username-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #f8fafc;
    margin-bottom: 8px;
    text-shadow: none;
    font-weight: 700;
    line-height: 1.2;
}

.username-modal-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.5;
}

.username-modal-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #64748b;
    font-size: 1rem;
    margin-bottom: 24px;
    outline: none;
    font-family: 'Inter', sans-serif;
    background: #334155;
    color: #f8fafc;
    box-sizing: border-box;
    transition: none;
}

.username-modal-input:focus {
    border: 1px solid #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.username-modal-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.15);
    margin: 0;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.025em;
    outline: none;
    transition: none;
}

.username-modal-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: none;
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.25);
}

.username-modal-error {
    color: #ef4444;
    font-size: 0.875rem;
    min-height: 1.2em;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.username-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    font-weight: 400;
    z-index: 2;
    transition: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.username-modal-close:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile-first responsive styles */
@media (max-width: 768px) {
    body {
        padding: 5px;
        padding-bottom: 20px;
    }

    .blocky-bg {
        border-radius: 10px;
        border-width: 1px;
        padding: 12px;
    }

    .pet-title {
        font-size: 0.9rem;
    }

    .claim-pill {
        font-size: 0.75rem;
        padding: 6px 10px;
        min-width: 60px;
        height: 32px;
    }

    .pet-img-bg {
        width: 60px !important;
        height: 60px !important;
    }

    .rainbow-banner {
        padding: 0.6rem 0.8rem;
        margin: 0 auto 15px auto;
    }

    .rainbow-banner-text {
        font-size: 1rem !important;
        letter-spacing: 0.3px !important;
    }

    .category-title {
        font-size: 1.4rem !important;
        padding: 1rem 1.5rem !important;
        margin: 1.5rem 0 2rem 0 !important;
        letter-spacing: 1.5px !important;
    }

    .category-title .category-icon {
        font-size: 1.3rem !important;
        margin-right: 0.5rem !important;
    }

    .category-section::before {
        width: 50px !important;
        height: 3px !important;
    }

    .game-logo {
        max-width: 160px !important;
    }

    .game-logo-container {
        margin-bottom: 1.5rem !important;
        padding: 0.8rem 0 !important;
    }
}

@media (max-width: 480px) {
    body {
        padding: 3px;
        padding-bottom: 20px;
    }

    .blocky-bg {
        border-radius: 8px;
        border-width: 1px;
        padding: 10px;
    }

    .pet-title {
        font-size: 0.85rem;
    }

    .claim-pill {
        font-size: 0.7rem;
        padding: 5px 8px;
        min-width: 55px;
        height: 30px;
    }

    .pet-img-bg {
        width: 50px !important;
        height: 50px !important;
    }

    .pet-row {
        padding: 8px;
        gap: 8px;
    }

    .rainbow-banner {
        padding: 0.5rem 0.6rem;
        margin: 0 auto 12px auto;
    }

    .rainbow-banner-text {
        font-size: 0.9rem !important;
        letter-spacing: 0.2px !important;
        line-height: 1.2;
    }

    .category-title {
        font-size: 1.2rem !important;
        padding: 0.8rem 1.2rem !important;
        margin: 1.2rem 0 1.8rem 0 !important;
        letter-spacing: 1px !important;
    }

    .category-title .category-icon {
        font-size: 1.1rem !important;
        margin-right: 0.4rem !important;
    }

    .category-section::before {
        width: 40px !important;
        height: 2px !important;
    }

    .game-logo {
        max-width: 140px !important;
    }

    .game-logo-container {
        margin-bottom: 1.2rem !important;
        padding: 0.6rem 0 !important;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    body {
        padding: 2px;
        padding-bottom: 20px;
    }

    .blocky-bg {
        padding: 8px;
    }

    .pet-title {
        font-size: 0.8rem;
    }

    .claim-pill {
        font-size: 0.65rem;
        padding: 4px 6px;
        min-width: 50px;
        height: 28px;
    }

    .pet-img-bg {
        width: 45px !important;
        height: 45px !important;
    }

    .pet-row {
        padding: 6px;
        gap: 6px;
    }

    .rainbow-banner {
        padding: 0.4rem 0.5rem !important;
        margin: 0 auto 10px auto;
    }

    .rainbow-banner-text {
        font-size: 0.85rem !important;
        letter-spacing: 0.1px !important;
        line-height: 1.1;
    }

    .category-title {
        font-size: 1.1rem !important;
        padding: 0.7rem 1rem !important;
        margin: 1rem 0 1.5rem 0 !important;
        letter-spacing: 0.8px !important;
    }

    .category-title .category-icon {
        font-size: 1rem !important;
        margin-right: 0.3rem !important;
    }

    .category-section::before {
        width: 35px !important;
        height: 2px !important;
    }

    .game-logo {
        max-width: 120px !important;
    }

    .game-logo-container {
        margin-bottom: 1rem !important;
        padding: 0.5rem 0 !important;
    }

    .username-modal {
        padding: 15px;
        min-width: 260px;
        margin: 5px;
    }

    .username-modal-title {
        font-size: 1.25rem;
    }

    .username-modal-sub {
        font-size: 0.9rem;
    }

    .username-modal-input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .username-modal-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes modal-appear {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float1 {
    0% {
        transform: translate(-100px, 110vh) rotate(0deg);
    }

    100% {
        transform: translate(110vw, -100px) rotate(720deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(110vw, 110vh) rotate(0deg);
    }

    100% {
        transform: translate(-100px, -100px) rotate(-720deg);
    }
}

@keyframes float3 {
    0% {
        transform: translate(50vw, 110vh) rotate(0deg);
    }

    100% {
        transform: translate(50vw, -100px) rotate(360deg);
    }
}

/* Class to disable animations during scroll */
.no-scroll-animations .floating-item {
    animation: none !important;
}

```