body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ستايل صفحة الإنترو الرئيسية */
.intro-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.intro-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/GROW-A-GARDEN.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.intro-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.custom-trade-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.custom-trade-button img {
    width: 280px;
    height: auto;
    transition: transform 0.1s;
}

.custom-trade-button img:hover {
    transform: scale(1.05);
}

/* ستايل صفحة المتجر الجديد (shop.html) */
.shop-page-body {
    background-color: #161616;
}

.shop-header {
    background-color: #1c1c1c;
    border-bottom: 4px solid #00e640;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-title {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.back-home-btn {
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s;
}

.back-home-btn:hover {
    color: #ff4444;
}

.admin-panel-btn {
    background-color: #00e640;
    color: black;
    border: 2px solid #00992c;
    font-weight: bold;
    padding: 8px 15px;
    cursor: pointer;
    box-shadow: 3px 3px 0px black;
}

.admin-panel-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px black;
}

/* محتوى المتجر والكروت */
.main-market {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.trades-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.stud-card {
    background-color: #222222;
    border: 4px solid #3a3a3a;
    padding: 20px;
    box-shadow: 6px 6px 0px #000000;
}

.card-header {
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #00e640;
}

.action-card-btn {
    background-color: #00e640;
    color: #000000;
    border: 3px solid #00992c;
    padding: 12px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 3px 3px 0px #000000;
}

.action-card-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000000;
}

/* النافذة المنبثقة (Popup) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 999;
}

.popup-overlay.active { opacity: 1; pointer-events: auto; }

.popup-box { 
    background-color: #1c1c1c; 
    border: 5px solid #00e640;
    width: 90%; 
    max-width: 500px; 
    padding: 20px; 
    box-shadow: 8px 8px 0px #000000;
}

.popup-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #333; padding-bottom: 10px; margin-bottom: 20px;}
.popup-header h3 { margin: 0; color: #00e640; }
.close-popup-btn { background-color: #ff4444; color: white; border: 2px solid #b31111; font-weight: bold; cursor: pointer; padding: 5px 10px;}
.popup-body label { display: block; margin-bottom: 8px; font-weight: bold;}
.stud-input { width: 100%; background-color: #111111; border: 3px solid #444444; color: white; padding: 10px; margin-bottom: 20px; box-sizing: border-box;}

.submit-trade-btn { 
    background-color: #00b33c; 
    color: white; 
    border: 3px solid #00802b; 
    padding: 12px; 
    width: 100%; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: 10px;
    box-shadow: 4px 4px 0px #000000;
}
.submit-trade-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}