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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #87CEEB, #90EE90);
    min-height: 100vh;
    padding: 20px;
    color: #2d5016;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e8;
}

h1 {
    font-size: 2.5em;
    color: #2d5016;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: #f8fff8;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #c8e6c9;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

/* BARRA DE AÇÕES NO TOPO */
.top-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 15px;
    border: 3px solid #a5d6a7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 80px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.btn-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.btn small {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: normal;
}

main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .top-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .top-actions {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
}

section {
    background: #f8fff8;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #c8e6c9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2d5016;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
}

.shop-items {
    display: grid;
    gap: 10px;
}

.shop-category h3 {
    color: #2d5016;
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #e8f5e8;
    font-size: 1.2em;
}

.shop-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #e8f5e8;
}

.shop-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.shop-item.out-of-season {
    border-color: #ff9800;
    background: #fff3e0;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.rarity {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.rarity.comum {
    background: #e8f5e8;
    color: #2d5016;
}

.rarity.incomum {
    background: #bbdefb;
    color: #1565c0;
}

.rarity.raro {
    background: #e1bee7;
    color: #7b1fa2;
}

.rarity.epico {
    background: #ffecb3;
    color: #ff6f00;
}

.item-price {
    background: #ffd54f;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    color: #5d4037;
}

.farm-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 500px;
}

.plot {
    aspect-ratio: 1;
    background: #8d6e63;
    border: 3px solid #5d4037;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.plot:hover {
    transform: scale(1.05);
}

.plot.empty {
    background: linear-gradient(45deg, #8d6e63, #a1887f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plot.planted {
    background: linear-gradient(45deg, #7cb342, #9ccc65);
}

.plot.ready {
    background: linear-gradient(45deg, #ffb300, #ffca28);
    animation: pulse 1s infinite;
}

.plot.withered {
    background: linear-gradient(45deg, #795548, #8d6e63);
}

.plant {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.growth-stage {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.8em;
}

.inventory {
    display: grid;
    gap: 10px;
}

.inventory-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-item.out-of-season {
    border-color: #ff9800;
    background: #fff3e0;
}

.inventory-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-count {
    background: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.empty-inventory {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.message {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message.success {
    background: #c8e6c9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.message.error {
    background: #ffcdd2;
    color: #c62828;
    border: 2px solid #f44336;
}

.message.info {
    background: #bbdefb;
    color: #1565c0;
    border: 2px solid #2196f3;
}

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

@keyframes grow {
    0% { transform: translateX(-50%) scale(0.5); }
    100% { transform: translateX(-50%) scale(1); }
}

.plant {
    animation: grow 0.5s ease-out;
}

/* Melhorias visuais para os botões de ação */
.top-actions .btn {
    position: relative;
    overflow: hidden;
}

.top-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.top-actions .btn:hover::before {
    left: 100%;
}

/* Efeito de destaque para o botão principal */
.btn-primary {
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: 
        /* Base verde da grama */
        linear-gradient(135deg, #2E8B57 0%, #3CB371 25%, #90EE90 50%, #3CB371 75%, #2E8B57 100%),
        /* Textura da grama */
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23328a4d' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
        /* Efeito de profundidade */
        radial-gradient(circle at 20% 80%, rgba(46, 139, 87, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(144, 238, 144, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(60, 179, 113, 0.7) 0%, transparent 50%);
    
    background-attachment: fixed;
    background-size: cover, 200px 200px, cover, cover, cover;
    min-height: 100vh;
    padding: 20px;
    color: #2d5016;
    position: relative;
    overflow-x: hidden;
}

/* Adicionando elementos decorativos de grama */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Folhas de grama finas */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(50, 205, 50, 0.1) 50px,
            rgba(50, 205, 50, 0.1) 52px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(34, 139, 34, 0.1) 50px,
            rgba(34, 139, 34, 0.1) 52px
        );
    pointer-events: none;
    z-index: -1;
}

/* Efeito de brilho do sol no gramado */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Adicionando detalhes de grama ao redor do container */
.container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        linear-gradient(45deg, #2E8B57, #3CB371, #90EE90, #3CB371, #2E8B57);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(5px);
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e8;
    position: relative;
}

/* Adicionando pequenos detalhes de grama no header */
header::after {
    content: '🌿 🍃 🌱';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 15px;
    color: #2E8B57;
}

h1 {
    font-size: 2.5em;
    color: #2d5016;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #2d5016, #4a7c59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(248, 255, 248, 0.9);
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #c8e6c9;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.stat-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

/* BARRA DE AÇÕES NO TOPO */
.top-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232, 245, 232, 0.9), rgba(200, 230, 201, 0.9));
    border-radius: 15px;
    border: 3px solid #a5d6a7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* Efeito de folhas na barra de ações */
.top-actions::before {
    content: '🍀';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.5em;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.top-actions::after {
    content: '🌿';
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 1.5em;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.btn {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.btn-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.btn small {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: normal;
}

/* Efeito de brilho nos botões */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .top-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .top-actions {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
    
    body {
        padding: 10px;
    }
}

section {
    background: rgba(248, 255, 248, 0.9);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #c8e6c9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* Detalhes de grama nas seções */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #8bc34a, #4caf50);
    opacity: 0.6;
}

h2 {
    color: #2d5016;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
}

.shop-items {
    display: grid;
    gap: 10px;
}

.shop-category h3 {
    color: #2d5016;
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #e8f5e8;
    font-size: 1.2em;
}

.shop-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(3px);
}

.shop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(232, 245, 232, 0.8);
}

.shop-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(245, 245, 245, 0.8);
}

.shop-item.out-of-season {
    border-color: #ff9800;
    background: rgba(255, 243, 224, 0.8);
}

.item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.rarity {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.rarity.comum {
    background: #e8f5e8;
    color: #2d5016;
}

.rarity.incomum {
    background: #bbdefb;
    color: #1565c0;
}

.rarity.raro {
    background: #e1bee7;
    color: #7b1fa2;
}

.rarity.epico {
    background: #ffecb3;
    color: #ff6f00;
}

.item-price {
    background: #ffd54f;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    color: #5d4037;
}

.farm-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 500px;
}

.plot {
    aspect-ratio: 1;
    background: #8d6e63;
    border: 3px solid #5d4037;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.plot:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.plot.empty {
    background: linear-gradient(45deg, #8d6e63, #a1887f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plot.planted {
    background: linear-gradient(45deg, #7cb342, #9ccc65);
}

.plot.ready {
    background: linear-gradient(45deg, #ffb300, #ffca28);
    animation: pulse 1s infinite;
}

.plot.withered {
    background: linear-gradient(45deg, #795548, #8d6e63);
}

.plant {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.growth-stage {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.8em;
    backdrop-filter: blur(3px);
}

.inventory {
    display: grid;
    gap: 10px;
}

.inventory-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(3px);
}

.inventory-item.out-of-season {
    border-color: #ff9800;
    background: rgba(255, 243, 224, 0.8);
}

.inventory-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-count {
    background: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.empty-inventory {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.message {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.message.success {
    background: rgba(200, 230, 201, 0.9);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.message.error {
    background: rgba(255, 205, 210, 0.9);
    color: #c62828;
    border: 2px solid #f44336;
}

.message.info {
    background: rgba(187, 222, 251, 0.9);
    color: #1565c0;
    border: 2px solid #2196f3;
}

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

@keyframes grow {
    0% { transform: translateX(-50%) scale(0.5); }
    100% { transform: translateX(-50%) scale(1); }
}

.plant {
    animation: grow 0.5s ease-out;
}

/* Efeito de brilho para o botão principal */
.btn-primary {
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}

/* Animação de flutuação para elementos decorativos */
@keyframes leaf-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-3px) rotate(2deg); 
    }
    75% { 
        transform: translateY(2px) rotate(-2deg); 
    }
}

/* Adicionando mais elementos decorativos de grama */
.grass-decoration {
    position: fixed;
    font-size: 1.2em;
    opacity: 0.4;
    z-index: 0;
    animation: leaf-float 4s ease-in-out infinite;
}

.grass-decoration:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.grass-decoration:nth-child(2) { top: 20%; right: 8%; animation-delay: 1s; }
.grass-decoration:nth-child(3) { bottom: 30%; left: 10%; animation-delay: 2s; }
.grass-decoration:nth-child(4) { bottom: 15%; right: 15%; animation-delay: 3s; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    color: #2d5016;
    position: relative;
    overflow-x: hidden;
}

/* FUNDO COMPLETO DE GRAMA */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Base principal da grama */
        linear-gradient(135deg, #1b5e20 0%, #2e7d32 20%, #388e3c 40%, #4caf50 60%, #66bb6a 80%, #81c784 100%),
        
        /* Textura de grama com padrão repetitivo */
        repeating-linear-gradient(
            45deg,
            rgba(76, 175, 80, 0.1) 0px,
            rgba(76, 175, 80, 0.1) 10px,
            rgba(105, 240, 174, 0.1) 10px,
            rgba(105, 240, 174, 0.1) 20px
        ),
        
        /* Efeito de profundidade com sombras */
        radial-gradient(circle at 20% 80%, rgba(27, 94, 32, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(129, 199, 132, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(57, 142, 60, 0.5) 0%, transparent 50%),
        
        /* Luz do sol */
        radial-gradient(circle at 10% 10%, rgba(255, 255, 200, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 200, 0.05) 0%, transparent 40%);
    
    background-blend-mode: overlay, overlay, normal, normal, normal;
    background-size: cover, 30px 30px, cover, cover, cover, cover, cover;
    z-index: -2;
}

/* CAMADA DE TEXTURA DE GRAMA DETALHADA */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Folhas de grama verticais */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(46, 125, 50, 0.1) 2px,
            rgba(46, 125, 50, 0.1) 3px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(27, 94, 32, 0.1) 3px,
            rgba(27, 94, 32, 0.1) 4px
        ),
        
        /* Pontos de luz como orvalho */
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 2px);
    
    background-size: 20px 20px, 20px 20px, 100px 100px, 150px 150px, 200px 200px;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* EFEITO DE BORDA DE GRAMA AO REDOR DO CONTAINER */
.container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: 
        linear-gradient(45deg, 
            #1b5e20, #2e7d32, #388e3c, #4caf50, 
            #66bb6a, #4caf50, #388e3c, #2e7d32
        );
    border-radius: 25px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e8;
    position: relative;
}

/* DECORAÇÃO DE GRAMA NO HEADER */
header::after {
    content: '🌿 🍃 🌱 🍀';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 15px;
    color: #2E8B57;
}

h1 {
    font-size: 2.5em;
    color: #2d5016;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #1b5e20, #2e7d32, #388e3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(248, 255, 248, 0.95);
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #c8e6c9;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.stat-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

/* BARRA DE AÇÕES NO TOPO */
.top-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232, 245, 232, 0.95), rgba(200, 230, 201, 0.95));
    border-radius: 15px;
    border: 3px solid #a5d6a7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* ELEMENTOS DECORATIVOS FLUTUANTES DE GRAMA */
.floating-grass {
    position: fixed;
    font-size: 2em;
    opacity: 0.3;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-grass:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; content: '🌿'; }
.floating-grass:nth-child(2) { top: 20%; right: 8%; animation-delay: 1s; content: '🍃'; }
.floating-grass:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; content: '🌱'; }
.floating-grass:nth-child(4) { bottom: 20%; right: 15%; animation-delay: 3s; content: '🍀'; }
.floating-grass:nth-child(5) { top: 40%; left: 15%; animation-delay: 4s; content: '🌿'; }
.floating-grass:nth-child(6) { bottom: 30%; right: 5%; animation-delay: 5s; content: '🍃'; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg) scale(1.05); 
    }
    75% { 
        transform: translateY(-15px) rotate(2deg) scale(1.08); 
    }
}

/* Efeito de vento na grama */
@keyframes grass-wind {
    0%, 100% { 
        transform: skewX(0deg);
        background-position: 0% 0%;
    }
    25% { 
        transform: skewX(1deg);
        background-position: 10% 0%;
    }
    75% { 
        transform: skewX(-1deg);
        background-position: -10% 0%;
    }
}

/* Aplicando efeito de vento no fundo */
body::before {
    animation: grass-wind 20s ease-in-out infinite;
}

.btn {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.btn-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.btn small {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: normal;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .top-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .top-actions {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
    
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    .floating-grass {
        font-size: 1.5em;
    }
}

section {
    background: rgba(248, 255, 248, 0.95);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #c8e6c9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b5e20, #2e7d32, #388e3c, #4caf50, #388e3c, #2e7d32, #1b5e20);
    opacity: 0.6;
}

h2 {
    color: #2d5016;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
}

.shop-items {
    display: grid;
    gap: 10px;
}

.shop-category h3 {
    color: #2d5016;
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #e8f5e8;
    font-size: 1.2em;
}

.shop-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(3px);
}

.shop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(232, 245, 232, 0.9);
}

.shop-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(245, 245, 245, 0.9);
}

.shop-item.out-of-season {
    border-color: #ff9800;
    background: rgba(255, 243, 224, 0.9);
}

.item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.rarity {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.rarity.comum {
    background: #e8f5e8;
    color: #2d5016;
}

.rarity.incomum {
    background: #bbdefb;
    color: #1565c0;
}

.rarity.raro {
    background: #e1bee7;
    color: #7b1fa2;
}

.rarity.epico {
    background: #ffecb3;
    color: #ff6f00;
}

.item-price {
    background: #ffd54f;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    color: #5d4037;
}

.farm-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 500px;
}

.plot {
    aspect-ratio: 1;
    background: #8d6e63;
    border: 3px solid #5d4037;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.plot:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.plot.empty {
    background: linear-gradient(45deg, #8d6e63, #a1887f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plot.planted {
    background: linear-gradient(45deg, #7cb342, #9ccc65);
}

.plot.ready {
    background: linear-gradient(45deg, #ffb300, #ffca28);
    animation: pulse 1s infinite;
}

.plot.withered {
    background: linear-gradient(45deg, #795548, #8d6e63);
}

.plant {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.growth-stage {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.8em;
    backdrop-filter: blur(3px);
}

.inventory {
    display: grid;
    gap: 10px;
}

.inventory-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #a5d6a7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(3px);
}

.inventory-item.out-of-season {
    border-color: #ff9800;
    background: rgba(255, 243, 224, 0.9);
}

.inventory-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-count {
    background: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.empty-inventory {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.message {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.message.success {
    background: rgba(200, 230, 201, 0.95);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.message.error {
    background: rgba(255, 205, 210, 0.95);
    color: #c62828;
    border: 2px solid #f44336;
}

.message.info {
    background: rgba(187, 222, 251, 0.95);
    color: #1565c0;
    border: 2px solid #2196f3;
}

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

@keyframes grow {
    0% { transform: translateX(-50%) scale(0.5); }
    100% { transform: translateX(-50%) scale(1); }
}

.plant {
    animation: grow 0.5s ease-out;
}

.btn-primary {
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}
/* Estilo para semente selecionada */
.seed-selected {
    border: 3px solid #ff6f00 !important;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2) !important;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.4) !important;
}

.selection-indicator {
    color: #ff6f00;
    font-weight: bold;
    font-size: 0.8em;
    margin-left: 5px;
}

/* Melhorar visual do inventário para seleção */
.inventory-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.inventory-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Indicador visual para terreno vazio quando há semente selecionada */
.plot.empty:hover::after {
    content: '🌱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    opacity: 0.7;
}

/* Feedback visual para quando não há semente selecionada */
.plot.empty.no-seed:hover::after {
    content: '❌';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    opacity: 0.7;
}
/* Adicione ao arquivo CSS existente */

/* Estilo para o contador de tempo da estação */
.season-countdown {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    border: 2px solid #ff4500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: pulse-countdown 2s infinite;
}

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

/* Melhorar visual das estatísticas */
.game-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(248, 255, 248, 0.95);
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #c8e6c9;
    font-weight: bold;
    font-size: 1em;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    text-align: center;
}

/* Ajuste para o contador de tempo ficar bem integrado */
.stat .season-countdown {
    margin-top: 5px;
    font-size: 0.8em;
    padding: 4px 10px;
}
/* Adicione ao final do arquivo CSS existente */

/* Estilo para o contador de tempo da estação */
.season-countdown-stat {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white !important;
    border: 2px solid #ff4500 !important;
    animation: pulse-countdown 2s infinite;
}

.season-countdown-stat .stat-icon {
    color: white !important;
}

@keyframes pulse-countdown {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% { 
        transform: scale(1.02); 
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
    }
}

/* Ajuste para responsividade */
@media (max-width: 768px) {
    .season-countdown-stat {
        font-size: 0.9em;
        min-width: 120px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .season-countdown-stat {
        font-size: 0.8em;
        min-width: 110px;
        padding: 8px 12px;
    }
}