/* =================================================================
   UNDERGROUND FARMER - ADVANCED CLICKER STYLES
   ================================================================= */

/* =================================================================
   1. UPGRADE SELECTOR (TOP PANEL)
   ================================================================= */
#upgrade-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#upgrade-selector.hidden {
    display: none !important;
}

.upgrade-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #654321;
    color: #e0d0c0;
    border: 2px solid #8b4513;
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.2s;
    min-width: 140px;
}

.upgrade-btn:hover {
    background: #8b4513;
    transform: translateY(-1px);
}

.upgrade-btn:active {
    transform: translateY(0);
}

.upgrade-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.upgrade-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    font-weight: bold;
}

.upgrade-cost {
    font-size: 14px;
    font-weight: bold;
    color: #daa520;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.upgrade-maxed {
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    text-align: center;
    background: rgba(255, 215, 0, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.upgrade-description {
    font-size: 12px;
    color: #b8b8d8;
    line-height: 1.4;
}

/* =================================================================
   2. CLICKER AREA LAYOUT
   ================================================================= */
#clicker-area {
    height: 100%;
    background: linear-gradient(180deg, #1a0f0a 0%, #0a0505 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

/* =================================================================
   2.1. CLICKER HEADER
   ================================================================= */
.clicker-header {
    background: linear-gradient(135deg, #654321 0%, #8b4513 100%);
    border: 3px solid #cd853f;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.clicker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mining-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

.mining-level {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 100%);
    color: #2c1810;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.experience-bar {
    position: relative;
    background: #2c1810;
    border: 2px solid #8b4513;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.exp-fill {
    height: 100%;
    background: linear-gradient(90deg, #32cd32, #90ee90);
    transition: width 0.5s ease;
    border-radius: 8px;
}

.exp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* =================================================================
   2.2. ENERGY SYSTEM
   ================================================================= */
.energy-section {
    background: linear-gradient(135deg, #1a4d66 0%, #2d5a87 100%);
    border: 2px solid #4169e1;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.energy-bar {
    position: relative;
    background: #1a1a2a;
    border: 2px solid #4169e1;
    border-radius: 25px;
    height: 25px;
    overflow: hidden;
    margin-bottom: 10px;
}

.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bfff, #87ceeb);
    transition: width 0.3s ease;
    border-radius: 23px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.energy-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.energy-info {
    text-align: center;
    color: #87ceeb;
    font-size: 12px;
    font-weight: bold;
}

/* =================================================================
   2.3. MAIN MINING AREA
   ================================================================= */
.main-mining-area {
    flex: 1;
    min-height: 300px;
}

.mining-block {
    height: 100%;
    background: linear-gradient(145deg, #654321, #8b4513);
    border: 4px solid #cd853f;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.mining-block:hover {
    transform: scale(1.02);
    border-color: #daa520;
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.5);
}

.mining-block:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.mining-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.mining-visual .mining-icon {
    font-size: 80px;
    margin-bottom: 15px;
}

.rock-layers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.rock-layer {
    font-size: 24px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.rock-layer:hover {
    opacity: 1;
    transform: scale(1.2);
}

.mining-text {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 2px;
}

.power-indicator {
    font-size: 18px;
    color: #32cd32;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 15px;
    border: 2px solid #32cd32;
}

/* Prevent text selection in mining block */
.mining-block, .mining-block * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* =================================================================
   CLICKER INFO BUTTON & MODAL
   ================================================================= */
.clicker-info-btn {
    background: linear-gradient(135deg, #4169e1, #6495ed);
    border: 2px solid #87ceeb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
    margin-left: auto;
}

.clicker-info-btn:hover {
    background: linear-gradient(135deg, #6495ed, #87ceeb);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.6);
}

.clicker-info-btn:active {
    transform: scale(0.95);
}

.info-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Clicker Info Modal */
.clicker-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.clicker-info-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.clicker-info-content {
    position: relative;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border: 3px solid #daa520;
    border-radius: 20px;
    max-width: 800px;
    max-height: 90vh;
    width: 95%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.clicker-info-header {
    background: linear-gradient(135deg, #654321, #8b4513);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #daa520;
}

.clicker-info-header h2 {
    margin: 0;
    color: #ffd700;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.close-btn {
    background: #dc143c;
    border: 2px solid #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

.clicker-info-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    color: #e6e6ff;
}

.clicker-info-body::-webkit-scrollbar {
    width: 12px;
}

.clicker-info-body::-webkit-scrollbar-track {
    background: #2a2a3a;
    border-radius: 6px;
}

.clicker-info-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b4513, #654321);
    border-radius: 6px;
    border: 1px solid #daa520;
}

.clicker-info-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #daa520, #8b4513);
}

.info-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #5a5a7a;
    border-radius: 12px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    margin: 0 0 15px 0;
    color: #daa520;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #5a5a7a;
    padding-bottom: 8px;
}

.info-section p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #c0c0d0;
}

.info-section ul {
    margin: 0;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #b0b0c0;
}

.tier-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.tier-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid #5a5a7a;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tier-info-item.unlocked {
    border-color: #daa520;
    background: rgba(218, 165, 32, 0.2);
}

.tier-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tier-number {
    font-size: 24px;
    font-weight: bold;
    color: #daa520;
    margin-bottom: 5px;
}

.tier-name {
    font-size: 14px;
    font-weight: bold;
    color: #e6e6ff;
    margin-bottom: 5px;
    text-align: center;
}

.tier-unlock {
    font-size: 12px;
    color: #87ceeb;
    text-align: center;
}

.tier-info-item.unlocked .tier-unlock {
    color: #90ee90;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =================================================================
   2.4. MINING STATISTICS
   ================================================================= */
.mining-stats {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #8b4513;
    border-radius: 12px;
    padding: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 10px;
    background: rgba(139, 69, 19, 0.2);
    border-radius: 8px;
    margin: 0 5px;
}

.stat-item span:first-child {
    font-size: 12px;
    color: #cd853f;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item span:last-child {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* =================================================================
   2.5. RESOURCES DISPLAY
   ================================================================= */
.resources-display {
    background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%);
    border: 2px solid #6a6a8a;
    border-radius: 12px;
    padding: 20px;
}

.resources-title {
    font-size: 18px;
    font-weight: bold;
    color: #e6e6ff;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-tier {
    background: linear-gradient(135deg, #3a3a4a 0%, #2a2a3a 100%);
    border: 2px solid #5a5a7a;
    border-radius: 10px;
    padding: 15px;
}

.tier-title {
    font-size: 14px;
    font-weight: bold;
    color: #daa520;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #4a4a5a;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.resource-item.has-resource {
    border-color: #daa520;
    background: rgba(218, 165, 32, 0.1);
}

.resource-item:hover {
    border-color: #6a6a8a;
    background: rgba(255, 255, 255, 0.05);
}

.resource-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.resource-name {
    flex: 1;
    font-size: 12px;
    color: #b8b8d8;
    text-transform: capitalize;
}

.resource-amount {
    font-size: 14px;
    font-weight: bold;
    color: #daa520;
    min-width: 40px;
    text-align: right;
}

/* =================================================================
   2.6. UPGRADES SECTION
   ================================================================= */
.upgrades-section {
    background: linear-gradient(135deg, #2a3a2a 0%, #1a2a1a 100%);
    border: 2px solid #6a8a6a;
    border-radius: 12px;
    padding: 20px;
}

.upgrades-title {
    font-size: 18px;
    font-weight: bold;
    color: #90ee90;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.upgrade-item {
    background: linear-gradient(135deg, #3a4a3a 0%, #2a3a2a 100%);
    border: 2px solid #5a7a5a;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upgrade-item.can-afford {
    border-color: #90ee90;
    background: linear-gradient(135deg, #3a4a2a 0%, #2a3a1a 100%);
}

.upgrade-item.can-afford:hover {
    border-color: #32cd32;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(50, 205, 50, 0.3);
}

.upgrade-item.cannot-afford {
    opacity: 0.6;
    cursor: not-allowed;
}

.upgrade-item.max-level {
    border-color: #ffd700;
    background: linear-gradient(135deg, #4a4a2a 0%, #3a3a1a 100%);
    cursor: default;
}

.upgrade-item.max-level:hover {
    transform: none;
    box-shadow: none;
}

.upgrade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.upgrade-name {
    font-size: 16px;
    font-weight: bold;
    color: #90ee90;
    text-transform: capitalize;
}

.upgrade-level {
    font-size: 12px;
    color: #32cd32;
    background: rgba(50, 205, 50, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

/* =================================================================
   3. VISUAL EFFECTS
   ================================================================= */
.mining-effect {
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: #32cd32;
    pointer-events: none;
    animation: miningFloat 2s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mining-effect.critical {
    color: #ff6347;
    font-size: 24px;
    animation: criticalFloat 2s ease-out forwards;
}

@keyframes miningFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.2);
    }
}

@keyframes criticalFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1.2);
    }
    50% {
        transform: translateY(-30px) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) scale(1.8);
    }
}

/* =================================================================
   3. CLICKER STATISTICS
   ================================================================= */
.clicker-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #8b4513;
    border-radius: 10px;
    padding: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.clicker-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-label {
    font-size: 12px;
    color: #cd853f;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* =================================================================
   4. MAIN CLICKER BLOCK
   ================================================================= */
.main-clicker-block {
    flex: 1;
    background: linear-gradient(145deg, #654321, #8b4513);
    border: 4px solid #cd853f;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 300px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.main-clicker-block:hover {
    transform: scale(1.02);
    border-color: #daa520;
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.5);
}

.main-clicker-block:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.clicker-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.clicker-text {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 2px;
}

.click-counter {
    font-size: 24px;
    color: #32cd32;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 15px;
    border: 2px solid #32cd32;
}

/* =================================================================
   5. CLICKER INFO
   ================================================================= */
.clicker-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.clicker-tip {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #8b4513;
    border-radius: 10px;
    padding: 15px 20px;
    color: #cd853f;
    font-size: 14px;
    text-align: center;
    max-width: 400px;
    line-height: 1.4;
    font-style: italic;
}

/* =================================================================
   6. CLICKER UPGRADES DIALOG
   ================================================================= */
.clicker-upgrades-dialog {
    background: linear-gradient(145deg, #2c1810, #1a0f0a);
    border: 3px solid #8b4513;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    animation: dialogAppear 0.3s ease-out;
}

.clicker-dialog-header {
    background: linear-gradient(135deg, #8b4513, #654321);
    padding: 15px 20px;
    border-bottom: 2px solid #cd853f;
}

.clicker-dialog-header h3 {
    margin: 0;
    color: #ffd700;
    font-size: 18px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.clicker-dialog-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.clicker-upgrade-option {
    background: linear-gradient(135deg, #3a2a1a, #2a1a0a);
    border: 2px solid #654321;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.clicker-upgrade-option:hover {
    border-color: #daa520;
    background: linear-gradient(135deg, #4a3a2a, #3a2a1a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.clicker-upgrade-option:last-child {
    margin-bottom: 0;
}

.clicker-upgrade-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.clicker-upgrade-info {
    flex: 1;
}

.clicker-upgrade-name {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.clicker-upgrade-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.clicker-upgrade-description {
    font-size: 12px;
    color: #cd853f;
    font-style: italic;
}

.clicker-upgrade-cost {
    font-size: 14px;
    color: #87ceeb;
    font-weight: bold;
}

.clicker-dialog-footer {
    padding: 15px 20px;
    border-top: 2px solid #654321;
    display: flex;
    justify-content: center;
}

/* =================================================================
   7. CLICK EFFECTS
   ================================================================= */
.click-effect-clicker {
    position: absolute;
    color: #32cd32;
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    animation: clickFloatClicker 1s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes clickFloatClicker {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* =================================================================
   8. RESPONSIVE DESIGN
   ================================================================= */
@media (max-width: 768px) {
    #upgrade-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .upgrade-btn {
        min-width: 120px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .upgrade-icon {
        font-size: 16px;
    }
    
    .upgrade-cost {
        font-size: 10px;
    }
    
    .clicker-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .clicker-stat {
        min-width: auto;
    }
    
    .clicker-icon {
        font-size: 60px;
    }
    
    .clicker-text {
        font-size: 24px;
    }
    
    .click-counter {
        font-size: 18px;
    }
    
    .clicker-upgrades {
        flex-direction: column;
        align-items: center;
    }
    
    .clicker-upgrades-dialog {
        max-width: 400px;
    }
    
    .clicker-upgrade-option {
        padding: 12px;
        gap: 12px;
    }
    
    .clicker-upgrade-icon {
        font-size: 28px;
    }
    
    .clicker-upgrade-name {
        font-size: 14px;
    }
    
    .upgrade-btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    #clicker-area {
        padding: 15px;
        gap: 15px;
    }
    
    .main-clicker-block {
        min-height: 250px;
    }
    
    .clicker-icon {
        font-size: 50px;
    }
    
    .clicker-text {
        font-size: 20px;
    }
    
    .upgrade-btn {
        min-width: 200px;
        padding: 12px 16px;
    }
} 