/* CSS Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
}

body {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Mobile Phone Container Simulation */
.app-container {
    width: 100%;
    max-width: 400px;
    height: 100vh;
    max-height: 850px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

@media (min-width: 401px) {
    .app-container {
        height: 90vh;
        border-radius: 30px;
        border: 8px solid #1a1a1a;
    }
}

/* Header Section */
header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    z-index: 10;
}

.logo-icon {
    width: 56px;
    height: 56px;
    margin-right: 12px;
    display: inline-block;
    flex-shrink: 0;
    background-image: url("logo.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    /* hide fallback text (emoji) while keeping accessible text available */
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* Video Section (For Stories Page) */
.video-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    aspect-ratio: 4/5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the vertical space */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        transparent 100%
    );
    color: white;
    z-index: 2;
}

.video-text {
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-top: 5px;
}

/* Content Section */
.content-section {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow-y: auto;
}

.content-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.content-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Call to Action Button */
.cta-button {
    display: block;
    background-color: #f25c27; /* Shwas Orange */
    color: white;
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(242, 92, 39, 0.3);
    transition: transform 0.1s ease;
    border: none;
    width: 100%;
    cursor: pointer;
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
}

.cta-subtext {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around; /* Spaced evenly for 2 buttons */
    align-items: center;
    padding: 12px 25px;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    padding-bottom: env(safe-area-inset-bottom, 12px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 20px;
}

.nav-item.active {
    color: #f25c27;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* Simple Donate Form Styles */
.donate-input-group {
    margin-bottom: 20px;
}
.donate-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.donate-amount-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    padding: 10px 15px;
}
.currency-symbol {
    font-size: 18px;
    font-weight: 700;
    color: #555;
    margin-right: 10px;
}
.donate-amount-wrapper input {
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
}
