/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(180deg, #4ade80 0%, #38bdf8 50%, #fde047 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-bottom: 50px;
    color: #333;
}

.container {
    max-width: 480px; /* Mobile-first layout mimicking the app view */
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.logo-container {
    position: relative;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: #f97316;
    text-shadow: 2px 2px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif; /* Playful font */
    position: relative;
    z-index: 2;
}

.mascot {
    position: absolute;
    top: -15px;
    left: -10px;
    width: 40px;
    height: 40px;
    background-color: #fbbf24;
    border-radius: 50%;
    z-index: 1;
}

.slogan {
    text-align: right;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    max-width: 60%;
}

/* Form Card */
.form-card {
    background-color: #fffbeb;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid #d97706;
}

.form-header-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d97706;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #0f766e;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    outline: none;
}

.form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

.btn-confirm {
    display: block;
    width: 100%;
    background: linear-gradient(to bottom, #84cc16, #65a30d);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 4px 0 #4d7c0f;
    margin-top: 10px;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-confirm:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #4d7c0f;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    padding: 8px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.tab.active {
    background-color: #f59e0b;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab.inactive {
    color: #64748b;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.package-card {
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    color: white;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    border: 2px solid rgba(255,255,255,0.2);
}

.package-card:hover {
    transform: translateY(-3px);
}

.package-card.selected {
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px #f59e0b;
    z-index: 10;
}

.package-green {
    background: linear-gradient(135deg, #6b7280, #718096); /* Fallback */
    background: linear-gradient(135deg, #57a8a2, #4d9691); /* Teal-ish green */
}

.package-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.coin-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #fcd34d;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.package-amount {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.package-price {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Footer/Beach Illustration Placeholder */
.footer-decoration {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../images/beach-bg.png') no-repeat bottom center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5; /* Placeholder effect */
}

/* Modal for confirmation */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header-custom {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    padding: 20px;
    text-align: center;
    color: white;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.modal-body {
    padding: 25px;
    color: #475569;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 0 25px 25px;
}

.btn-modal {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    border: none;
    transition: transform 0.1s, opacity 0.2s;
}

.btn-modal:active {
    transform: scale(0.98);
}

.btn-cancel {
    background-color: #f1f5f9;
    color: #64748b;
}

.btn-ok {
    background-color: #f59e0b;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

/* Confirmation Summary Styles */
.confirm-summary {
    background-color: #f8fafc;
    border-radius: 15px;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    position: relative;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    align-items: center;
}

.confirm-row .label {
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.confirm-row .label i {
    color: #94a3b8;
    width: 20px;
    text-align: center;
}

.confirm-row .value {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

.divider {
    height: 1px;
    background-color: transparent;
    margin: 15px 0;
    border-top: 1px dashed #cbd5e1;
}

.confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    margin-top: 5px;
}

.confirm-total .label {
    font-weight: 700;
    color: #334155;
    font-size: 1rem;
}

.confirm-total .price {
    color: #0f766e;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}