/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #1a5c3a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Diamond quilted pattern background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0a3d24;
    background-image: 
        linear-gradient(45deg, rgba(0, 0, 0, 0.3) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.3) 75%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.3) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.3) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    pointer-events: none;
}

/* Green felt texture overlay */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(26, 92, 58, 0.9) 0%, rgba(10, 61, 36, 1) 100%);
    pointer-events: none;
}

/* ===== MENU PAGE STYLES ===== */
h1 {
    color: #d4af37;
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 60px;
    text-shadow: 
        0 2px 0 #8b6914,
        0 4px 0 #6b5010,
        0 6px 0 #4b3a0c,
        0 8px 8px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.menu .mainInterface_I {
    width: 300px;
    height: 60px;
    padding: 15px 25px;
    border-radius: 8px;
    border: 3px solid #d4af37;
    background: rgba(10, 61, 36, 0.9);
    box-shadow: 
        0 4px 0 #8b6914,
        0 8px 20px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(212, 175, 55, 0.2);
    color: #f5e6c8;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Georgia', serif;
    font-weight: 600;
}

.menu .mainInterface_I::placeholder {
    color: rgba(245, 230, 200, 0.5);
}

.menu .mainInterface_I:focus {
    border-color: #ffd700;
    background: rgba(15, 76, 46, 0.95);
    box-shadow: 
        0 4px 0 #8b6914,
        0 8px 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 215, 0, 0.3);
}

.menu .Infoboard {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.menu .mainInterface_B {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    border: 4px solid #d4af37;
    background: linear-gradient(180deg, #8b0000 0%, #5c0000 100%);
    color: #ffd700;
    font-size: 32px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        0 6px 0 #8b6914,
        0 12px 25px rgba(0, 0, 0, 0.7),
        inset 0 2px 0 rgba(255, 215, 0, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.3);
}

.menu .mainInterface_B::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30%, 30%); }
}

.menu .mainInterface_B:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 0 #8b6914,
        0 16px 35px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(255, 215, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.3);
    background: linear-gradient(180deg, #a52a2a 0%, #6b0000 100%);
    border-color: #ffd700;
}

.menu .mainInterface_B:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #8b6914,
        0 6px 15px rgba(0, 0, 0, 0.6),
        inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

#Info_c,
#Info_j,
#Info_c2,
#Info_j2 {
    display: none;
    padding: 15px 20px;
    border-radius: 8px;
    border: 3px solid #d4af37;
    background: rgba(10, 61, 36, 0.95);
    backdrop-filter: blur(5px);
    color: #f5e6c8;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 0 #8b6914,
        0 8px 20px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(212, 175, 55, 0.2);
    font-family: 'Georgia', serif;
}

#Info_c h3,
#Info_c2 h3,
#Info_j2 h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

#Info_j {
    background: rgba(10, 61, 36, 0.9);
    border-color: #d4af37;
    color: #f5e6c8;
    outline: none;
    padding: 0 20px;
    font-size: 18px;
}

#Info_j::placeholder {
    color: rgba(245, 230, 200, 0.5);
}

/* ===== PLAYSPACE STYLES ===== */
.CardCon {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: -20px;
    background: linear-gradient(to top, rgba(10, 61, 36, 0.98) 0%, rgba(26, 92, 58, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-top: 4px solid #d4af37;
    box-shadow: 
        0 -2px 0 #8b6914,
        0 -15px 50px rgba(0, 0, 0, 0.8);
}

.CardCon img {
    height: 180px;
    width: auto;
    border-radius: 8px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.8),
        0 0 2px rgba(0, 0, 0, 0.9),
        0 2px 4px rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 -15px;
    filter: brightness(0.98) contrast(1.1);
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.CardCon img:hover {
    transform: translateY(-50px) scale(1.15) rotate(2deg);
    z-index: 10;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 5px rgba(255, 255, 255, 0.5);
    filter: brightness(1.15) contrast(1.2);
    border-color: rgba(212, 175, 55, 0.6);
}

.CardCon img:active {
    transform: translateY(-45px) scale(1.12);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 60px;
        letter-spacing: 6px;
        margin-bottom: 40px;
    }
    
    .menu {
        gap: 20px;
    }
    
    .menu .mainInterface_I,
    .menu .Infoboard,
    .menu .mainInterface_B {
        width: 100%;
        max-width: 350px;
    }
    
    .menu .mainInterface_B {
        height: 120px;
        font-size: 26px;
    }
    
    .CardCon {
        padding: 20px 10px;
    }
    
    .CardCon img {
        height: 140px;
        margin: 0 -10px;
    }
    
    .CardCon img:hover {
        transform: translateY(-35px) scale(1.08);
    }
}

@media (max-width: 480px) {
    .CardCon img {
        height: 120px;
        margin: 0 -8px;
    }
}