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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%),
        linear-gradient(45deg, #0f3460 0%, #1a1a2e 50%, #0f3460 100%),
        linear-gradient(225deg, #16213e 0%, #0f3460 50%, #16213e 100%);
    background-size: 400% 400%, 300% 300%, 200% 200%;
    animation: gradientShift 20s ease infinite, gradientShift2 15s ease infinite, gradientShift3 18s ease infinite;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%, 0% 0%, 0% 50%;
    }
    50% {
        background-position: 100% 50%, 100% 100%, 100% 50%;
    }
    100% {
        background-position: 0% 50%, 0% 0%, 0% 50%;
    }
}

@keyframes gradientShift2 {
    0% {
        background-position: 0% 0%, 0% 50%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 100% 50%, 100% 100%;
    }
    100% {
        background-position: 0% 0%, 0% 50%, 0% 0%;
    }
}

@keyframes gradientShift3 {
    0% {
        background-position: 0% 50%, 0% 0%, 0% 0%;
    }
    50% {
        background-position: 100% 50%, 100% 100%, 100% 100%;
    }
    100% {
        background-position: 0% 50%, 0% 0%, 0% 0%;
    }
}

/* Additional animated overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(156, 39, 176, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 152, 0, 0.15) 0%, transparent 40%);
    animation: pulseGlow 10s ease-in-out infinite, moveGlow 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes moveGlow {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 0% 100%, 75% 25%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%;
    }
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(76, 175, 80, 0.25), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(33, 150, 243, 0.25), transparent),
        radial-gradient(3px 3px at 90% 40%, rgba(156, 39, 176, 0.2), transparent),
        radial-gradient(2px 2px at 33% 60%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(3px 3px at 10% 80%, rgba(76, 175, 80, 0.2), transparent),
        radial-gradient(2px 2px at 70% 90%, rgba(33, 150, 243, 0.2), transparent),
        radial-gradient(2px 2px at 40% 20%, rgba(255, 152, 0, 0.15), transparent),
        radial-gradient(3px 3px at 15% 60%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 300% 300%;
    animation: particleFloat 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%, 10% 90%, 90% 10%, 50% 30%, 30% 70%, 70% 50%;
    }
    100% {
        background-position: 100% 100%, 80% 80%, 60% 60%, 40% 40%, 20% 20%, 90% 10%, 10% 90%, 50% 70%, 70% 30%, 30% 50%;
    }
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    column-gap: 25px;
    row-gap: 25px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Right column container for Seeds and Gear */
.seeds-panel {
    display: none !important; /* Hidden - will be shown when needed */
    visibility: hidden;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gear-panel {
    grid-column: 3;
    grid-row: 1;
    height: 40vh;
    max-height: 40vh;
    margin-top: 0;
    padding-top: 15px;
    position: relative;
    z-index: 1;
}

.gear-panel .shop-section-title {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Seed Stock Panel */
.seed-stock-panel {
    background: rgba(30, 30, 40, 0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 600px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.panel-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seed-stock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    overflow: visible;
}

.seed-item {
    background: rgba(40, 40, 50, 0.8);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    min-width: 0;
    min-height: 120px;
}

.seed-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.seed-item.recent {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(56, 142, 60, 0.2) 100%);
    border: 2px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), inset 0 0 20px rgba(76, 175, 80, 0.1);
    position: relative;
    overflow: visible;
}

.seed-item.recent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.4), rgba(56, 142, 60, 0.2), rgba(76, 175, 80, 0.4));
    border-radius: 8px;
    z-index: -1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.seed-item.recent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5), inset 0 0 25px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.8);
}

.seed-item.old {
    filter: grayscale(20%) brightness(1);
    opacity: 0.85;
    background: linear-gradient(135deg, rgba(80, 80, 90, 0.9) 0%, rgba(60, 60, 70, 0.85) 100%);
    border: 2px solid rgba(120, 120, 130, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.seed-item.old::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    border-radius: 8px;
}

.seed-emoji {
    font-size: 48px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.seed-emoji img,
.seed-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 85px;
    max-height: 85px;
    min-width: 0;
    min-height: 0;
    display: block;
}

.seed-item.recent .seed-img {
    filter: none;
}

.seed-item.old .seed-img {
    filter: grayscale(60%) brightness(0.75);
}

.seed-quantity {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 235, 59, 0.5);
}

.seed-quantity.out-of-stock {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.6) 0%, rgba(97, 97, 97, 0.5) 100%);
    color: #cccccc;
    font-size: 11px;
    border: 1px solid rgba(158, 158, 158, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seed-timestamp {
    color: #aaaaaa;
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
}

.seed-alert-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 18px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.6));
    animation: bell-pulse 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

@keyframes bell-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.seed-item.recent .seed-alert-icon {
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.8));
    opacity: 1;
}

/* Countdown Panel */
.countdown-panel {
    background: rgba(30, 30, 40, 0.95);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.countdown-header {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
}

.alerts-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 15px;
}

.speaker-icon {
    font-size: 18px;
}

.restock-info {
    color: #ffffff;
    font-size: 14px;
}

.highlight-red {
    color: #ff4444;
    font-weight: 600;
}

/* Shop Panel */
.shop-panel {
    background: rgba(30, 30, 40, 0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}


/* Custom scrollbar for shop panel */
.shop-panel::-webkit-scrollbar {
    width: 8px;
}

.shop-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.shop-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.shop-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.shop-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* Seeds Container */
.seeds-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100% - 40px);
    overflow-y: auto;
    overflow-x: hidden;
}

.seed-card {
    border-radius: 10px;
    padding: 15px;
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.seed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.seed-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.seed-card.yellow {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.seed-card.purple {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.seed-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.seed-card-emoji {
    font-size: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.seed-card-emoji img,
.seed-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 75px;
    max-height: 75px;
    min-width: 0;
    min-height: 0;
    display: block;
}

.seed-card:not(.out-of-stock) .seed-card-img {
    filter: none;
}

.seed-card.out-of-stock .seed-card-img {
    filter: grayscale(60%) brightness(0.75);
}

.seed-card-info {
    flex: 1;
}

.seed-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.seed-card-rarity {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seed-card-stock {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.seed-card-buttons {
    display: flex;
    gap: 10px;
}

.btn-price {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.btn-price:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-money {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.btn-gems {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gift-icon {
    font-size: 16px;
}

/* Gear Grid */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.gear-item {
    background: rgba(40, 40, 50, 0.8);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    min-width: 0;
}

.gear-item:not(.out-of-stock) {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(25, 118, 210, 0.2) 100%);
    border: 2px solid rgba(33, 150, 243, 0.5);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3), inset 0 0 20px rgba(33, 150, 243, 0.1);
}

.gear-item:not(.out-of-stock):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5), inset 0 0 25px rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.8);
}

.gear-item.out-of-stock {
    filter: grayscale(60%) brightness(0.75);
    opacity: 0.85;
    background: linear-gradient(135deg, rgba(80, 80, 90, 0.9) 0%, rgba(60, 60, 70, 0.85) 100%);
    border: 2px solid rgba(120, 120, 130, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.gear-item.out-of-stock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    border-radius: 8px;
}

.gear-item.out-of-stock:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gear-emoji {
    font-size: 48px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.gear-emoji img,
.gear-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 75px;
    max-height: 75px;
    min-width: 0;
    min-height: 0;
    display: block;
}

.gear-item:not(.out-of-stock) .gear-img {
    filter: none;
}

.gear-item.out-of-stock .gear-img {
    filter: grayscale(60%) brightness(0.75);
}

.gear-quantity {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 235, 59, 0.5);
}

.gear-item:not(.out-of-stock) .gear-quantity {
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.gear-quantity.out-of-stock {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.6) 0%, rgba(97, 97, 97, 0.5) 100%);
    color: #cccccc;
    font-size: 11px;
    border: 1px solid rgba(158, 158, 158, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seed-card.out-of-stock {
    opacity: 0.7;
}

.gear-timestamp {
    color: #aaaaaa;
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
}

/* Responsive Design - 1280x720 screens */
@media (max-width: 1280px) and (max-height: 720px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 1240px;
        grid-template-columns: 1.2fr 1.6fr 1.2fr;
        column-gap: 15px;
        row-gap: 15px;
    }

    .seed-stock-panel {
        min-height: auto;
        padding: 12px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .seed-stock-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .seed-item {
        padding: 10px;
        min-height: 100px;
        overflow: visible;
    }

    .seed-emoji,
    .seed-img {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }

    .seed-alert-icon {
        top: 5px;
        right: 5px;
        font-size: 16px;
        z-index: 10;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .seed-quantity {
        font-size: 12px;
        padding: 4px 10px;
        margin-top: 4px;
    }

    .countdown-panel {
        padding: 15px 20px;
        min-height: auto;
        max-height: calc(100vh - 40px);
    }

    .countdown-header {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .countdown-timer {
        font-size: 36px;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    .alerts-status {
        font-size: 12px;
        margin-bottom: 8px;
        gap: 6px;
    }

    .speaker-icon {
        font-size: 16px;
    }

    .restock-info {
        font-size: 12px;
    }

    .gear-panel {
        height: auto;
        max-height: calc(100vh - 40px);
        padding: 12px;
        overflow-y: auto;
    }

    .gear-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gear-item {
        padding: 10px;
    }

    .gear-emoji,
    .gear-img {
        width: 55px;
        height: 55px;
        max-width: 55px;
        max-height: 55px;
    }

    .gear-quantity {
        font-size: 12px;
        padding: 4px 10px;
    }

    .panel-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .shop-section-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .seed-stock-panel {
        grid-column: 1;
        min-height: auto;
    }

    .countdown-panel {
        grid-column: 1;
        min-height: 180px;
    }

    .gear-panel {
        grid-column: 1;
        grid-row: auto;
        height: auto;
        max-height: none;
    }

    .seed-stock-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .countdown-timer {
        font-size: 42px;
    }

    .panel-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        grid-template-columns: 1fr;
        column-gap: 15px;
        row-gap: 15px;
    }

    .seed-stock-panel {
        padding: 12px;
        min-height: auto;
    }

    .seed-stock-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .seed-item {
        padding: 12px;
        min-height: 110px;
    }

    .seed-emoji,
    .seed-img {
        width: 70px;
        height: 70px;
        max-width: 70px;
        max-height: 70px;
    }

    .gear-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gear-item {
        padding: 12px;
    }

    .gear-emoji,
    .gear-img {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }

    .countdown-panel {
        padding: 20px 15px;
        min-height: 160px;
    }

    .countdown-timer {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .countdown-header {
        font-size: 14px;
    }

    .alerts-status {
        font-size: 12px;
    }

    .restock-info {
        font-size: 12px;
    }

    .panel-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .shop-section-title {
        font-size: 16px;
    }

    .seed-quantity,
    .gear-quantity {
        font-size: 12px;
        padding: 5px 10px;
    }

    .seed-name,
    .gear-name {
        font-size: 13px;
    }

    .seed-card-content {
        flex-direction: column;
        text-align: center;
    }

    .seed-card-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }

    .container {
        column-gap: 10px;
        row-gap: 12px;
    }

    .seed-stock-panel {
        padding: 10px;
    }

    .seed-stock-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .seed-item {
        padding: 10px;
        min-height: 100px;
    }

    .seed-emoji,
    .seed-img {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }

    .seed-name {
        font-size: 11px;
        margin-top: 6px;
    }

    .seed-quantity {
        font-size: 10px;
        padding: 4px 8px;
        margin-top: 4px;
    }

    .gear-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gear-item {
        padding: 10px;
    }

    .gear-emoji,
    .gear-img {
        width: 55px;
        height: 55px;
        max-width: 55px;
        max-height: 55px;
    }

    .gear-name {
        font-size: 11px;
    }

    .gear-quantity {
        font-size: 10px;
        padding: 4px 8px;
    }

    .countdown-panel {
        padding: 15px 10px;
        min-height: 140px;
    }

    .countdown-timer {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .countdown-header {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .alerts-status {
        font-size: 11px;
        margin-top: 8px;
    }

    .restock-info {
        font-size: 11px;
        margin-top: 6px;
    }

    .panel-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .shop-section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .gear-panel {
        height: auto;
        max-height: none;
        padding-top: 10px;
    }
}

@media (max-width: 360px) {
    .seed-stock-grid {
        grid-template-columns: 1fr;
    }

    .seed-item {
        min-height: 90px;
    }

    .seed-emoji,
    .seed-img {
        width: 55px;
        height: 55px;
        max-width: 55px;
        max-height: 55px;
    }

    .gear-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        font-size: 24px;
        letter-spacing: 1px;
    }
}


