:root {
    --navy: #1B4353;
    --red: #B2443A;
    --yellow: #F4D35E;
    --cream: #FCEACA;
    --shadow: rgba(0,0,0,0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #E5B54F;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0, rgba(255,255,255,0.1) 20px, transparent 20px, transparent 40px);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 40px 20px;
}

.main-container {
    background-color: #2a5a73;
    background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px);
    background-size: 4px 4px;
    padding: 30px 50px;
    text-align: center;
    position: relative;
    border: 3px solid #B2443A;
    outline: 3px dashed #d6b069;
    outline-offset: -8px;
    margin: 10px;
    max-width: 900px;
}

/* The White Card */
.header-wrapper {
    background: #FCEACA;
    padding: 30px;
    border: 2px solid #1B4353;
    outline: 6px solid #FCEACA;
    outline-offset: 4px;
    box-shadow: 0 0 0 8px #1B4353;
    margin: 20px;
}

/* Header */
.hero-box {
    background: #B2443A;
    border: 4px solid #fcf4e9;
    border-radius: 40px;
    padding: 20px 40px;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 5px;
    margin: 5px 0;
}

/* Menu Buttons */
.main-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

button {
    background: #F4D35E;
    border: 2px solid black;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px black;
    transition: 0.1s;
    white-space: nowrap;
}

    button:active {
        box-shadow: 0px 0px 0px black;
        transform: translate(4px, 4px);
    }

/* Content Area */
.content-grid {
    background: #FCEACA;
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    border: 2px solid black;
}

.sidebar, .welcome-text, .guarantee {
    padding: 20px;
    border: 1px solid #1B4353;
}

/* Washi Tape Title Effect */
.washi-title {
    background: #1b43537f;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-left: 5px solid #1B4353;
    border-right: 5px solid #1B4353;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Square Icon Links */
.link-grid {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.icon-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 4px 4px 0px black;
    transition: 0.1s;
}

.fb-color {
    background-color: #3b5998;
}

.tg-color {
    background-color: #0088cc;
}

.icon-link:active {
    box-shadow: 0px 0px 0px black;
    transform: translate(3px, 3px);
}

/* Review Bubble */
.speech-bubble {
    background: white;
    border: 2px solid #1B4353;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    font-size: 0.75rem;
    line-height: 1.3;
    width: 130px;
}

    /* The Bubble Tail */
    .speech-bubble::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 20px;
        border-width: 12px 12px 0;
        border-style: solid;
        border-color: #1B4353 transparent;
    }

    .speech-bubble p {
        margin: 0 0 8px 0;
        font-style: italic;
        color: #333;
    }

.reviewer {
    display: block;
    font-size: 0.6rem;
    text-align: right;
    font-weight: bold;
    color: #B2443A;
}

/* Modals */
.modal {
    border: none;
    border: 3px solid #1B4353;
    background: #FCEACA;
    padding: 0;
    width: 300px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
}

.modal-header {
    background: #e9e4d0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #1B4353;
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Sub-Menu Buttons */
.sub-menu-btn {
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
    background: #7a94a4;
    color: white;
    border: 2px solid black;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: 0.1s;
}

    .sub-menu-btn:active {
        box-shadow: 0px 0px 0px black;
        transform: translate(2px, 2px);
    }

/* Centered Modal Header */
.modal-header h3 {
    width: 100%;
    text-align: center;
    margin: 0;
    padding-left: 30px;
}

/* Receipt Style (3rd Photo) */
.receipt-content {
    padding: 20px;
    font-size: 13px;
}

.receipt-section {
    background: #1B4353;
    color: #FCEACA;
    text-align: center;
    margin: 15px 0 5px;
    padding: 2px;
}

.receipt-content p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    margin: 5px 0;
}
