:root {
    --primary-color: #2E7D32;
    --secondary-color: #000000;
    --accent-color: #FFFFFF;
}
header, footer {
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(0, 0, 0, 0.3);
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: radial-gradient(circle at center right, rgba(255, 255, 255, 0.17) 24%, rgba(255, 255, 255, 0) 96%), var(--secondary-color);
    position: relative;
}
main {
    flex: 1;
    display: flex;
    padding-top: 20px;
}
.social-icon {
    color: var(--accent-color);
    font-size: 20px;
    transition: color 0.3s ease;
}
.social-icon:hover {
    color: var(--primary-color);
}
.category-menu {
    display: flex;
    flex-direction: column;
    width: 50px;
    padding: 20px;
    margin-right: 20px;
}
.category-item {
    cursor: pointer;
    padding: 10px;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    height: 50px;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
}
.category-item:hover {
    background-color: #3b9c36;
    transform: scale(1.1);
}
.product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    width: 100%;
    align-items: start;
}
.footer-links {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    font-size: 17px;
    gap: 20px;
}
.social-icon {
    color: var(--accent-color);
    font-size: 23px;
    transition: color 0.3s ease;
}
.social-icons {
    display: flex;
    gap: 15px;
    bottom: 10px;
    right: 2%;
}
.social-icon:hover {
    color: var(--primary-color);
}
footer {
    min-height: 150px;
}
.card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}
.card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    background-image: var(--card-image);
}
.card > * {
    position: relative;
    z-index: 2;
}
.card:hover {
    transform: scale(1.05);
}
.dark-theme {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}
.dark-theme .card {
    background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.dark-theme .btn-primary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transition: background-color 0.3s, box-shadow 0.3s;
}
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(30, 30, 30, 0.95);
    color: var(--accent-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.modal input, .modal select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(50, 50, 50, 0.8);
    color: var(--accent-color);
    transition: border-color 0.3s;
}
.modal input:focus, .modal select:focus {
    border-color: var(--primary-color);
    outline: none;
}
.modal select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}
.modal select::-ms-expand {
    display: none;
}
.modal .btn-close {
    background: transparent;
    color: var(--accent-color);
    border: none;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: color 0.3s;
}
.modal .btn-close:hover {
    color: var(--primary-color);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
.modal-content {
    max-height: 400px;
    overflow-y: auto;
}
.cart-empty {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}
.cart-item {
    font-family: 'Minecraft', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 4px;
}
.cart-item-info {
    font-family: 'Minecraft', sans-serif;
    flex-grow: 1;
}
.cart-item-info h4 {
    font-family: 'Minecraft', sans-serif;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
}
.cart-item-info p {
    font-family: 'Minecraft', sans-serif;
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.cart-item-info .original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 5px;
}
.cart-item-info .discounted-price {
    color: #ff4444;
}
.cart-item-info .currency-symbol {
    font-size: 0.9rem;
    padding: 2px 4px;
    border-radius: 3px;
    vertical-align: middle;
}
.cart-item button {
    background: transparent;
    border: none;
    color: #ff4444;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}
.cart-item button:hover {
    color: #cc3333;
}
.promo-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.promo-section input {
    flex-grow: 1;
    margin-bottom: 0;
    margin-right: 10px;
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.modal-footer .total {
    font-size: 18px;
    font-weight: bold;
}
.modal-button {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 18px;
}
.modal-button:hover {
    background-color: #3b9c36;
    transform: translateY(-2px);
}
.price-container {
    display: inline-flex;
    align-items: center;
}
.currency-symbol {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 4px;
    font-size: 1.5rem;
    line-height: 1;
}
.price-value {
    font-size: 2.25rem;
    font-weight: bold;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.overlay.active {
    opacity: 1;
}
.cart-button {
    position: fixed;
    bottom: calc(100% + 20px);
    left: 20px;
    cursor: pointer;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    height: 50px;
    width: 50px;
    z-index: 998;
}
.cart-button:hover {
    background-color: #3b9c36;
    transform: scale(1.1);
}
.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}
.notification {
    background: rgba(30, 30, 30, 0.95);
    color: var(--accent-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    width: 300px;
    cursor: pointer;
    animation: slideIn 0.5s ease forwards;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.notification.closing {
    animation: slideOut 0.5s ease forwards;
}
.notification h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
}
.notification p {
    margin: 0;
    font-size: 14px;
}
@font-face {
    font-family: 'Minecraft';
    src: url('data/fonts/minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.motd-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    background: rgba(30, 30, 30, 0.95);
    padding: 13px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: none;
}
.motd-icon {
    width: 48px;
    height: 48px;
    margin-right: 10px;
    border-radius: 4px;
    display: none;
}
.motd-info {
    color: var(--accent-color);
    display: flex;
    flex-direction: column;
}
.motd-online {
    font-family: 'Minecraft', sans-serif;
    font-weight: bold;
    font-size: 11px;
    text-align: right;
}
.motd-line {
    font-family: 'Minecraft', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}
.motd-line.line2 {
    margin-top: 2px;
}
.minecraft-text span {
    display: inline;
}
.color-0 { color: #000000; }
.color-1 { color: #0000AA; }
.color-2 { color: #00AA00; }
.color-3 { color: #00AAAA; }
.color-4 { color: #AA0000; }
.color-5 { color: #AA00AA; }
.color-6 { color: #FFAA00; }
.color-7 { color: #AAAAAA; }
.color-8 { color: #555555; }
.color-9 { color: #5555FF; }
.color-a { color: #55FF55; }
.color-b { color: #55FFFF; }
.color-c { color: #FF5555; }
.color-d { color: #FF55FF; }
.color-e { color: #FFFF55; }
.color-f { color: #FFFFFF; }
.format-l { font-weight: bold; }
.format-o { font-style: italic; }
.format-m { text-decoration: line-through; }
.format-n { text-decoration: underline; }
.format-k {
    animation: obfuscate 0.1s infinite;
}
@keyframes obfuscate {
    0% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    50% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}