/* star/animal_crossing/css/style.css */
body {
    margin: 0;
    overflow: hidden;
    background-color: #a4e5d9;
    /* Sky Blue */
    font-family: 'Gowun Dodum', 'Mali', sans-serif;
    user-select: none;
}

#game-container {
    width: 100vw;
    height: 100vh;
}

.hidden {
    display: none !important;
}

/* HUD */
#hud {
    position: fixed;
    inset: 0;
    pointer-events: none;
    padding: 30px;
}

#bell-counter {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 4px solid #f9e1a8;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.bell-icon {
    width: 32px;
    height: 32px;
}

#bell-amount {
    font-size: 24px;
    font-weight: bold;
    color: #7a5a41;
}

#nook-phone {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    pointer-events: auto;
}

.phone-app {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 3px solid #eee;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.05);
}

.phone-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.1);
}

#interaction-prompt {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 18px;
    letter-spacing: 1px;
}

/* START SCREEN */
#overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.start-card {
    background: #fff;
    padding: 60px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 10px solid #a4e5d9;
    max-width: 500px;
}

.game-title {
    font-size: 50px;
    color: #5bb381;
    margin: 0;
    font-weight: 800;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.sub-title {
    font-size: 24px;
    color: #79c9e1;
    margin: 0 0 20px;
    font-weight: 400;
}

.island-icon {
    font-size: 80px;
    margin: 30px 0;
}

#start-btn {
    background: #ffcf4b;
    color: #7a5a41;
    border: none;
    padding: 15px 40px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 0 #e1a329;
    font-family: inherit;
}

#start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #e1a329;
}

.guide {
    margin-top: 40px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

/* INVENTORY */
#inventory-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
}

.inventory-card {
    background: #fdf6e3;
    /* Light Cream */
    padding: 30px;
    border-radius: 30px;
    width: 400px;
    text-align: center;
    border: 5px solid #dcd5c0;
}

#inventory-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.inventory-slot {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    border: 3px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

#close-inventory {
    background: #79c9e1;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}