* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #e8e0d4;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f5f1e8;
    border-radius: 8px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
    border: 2px solid #d4c5b0;
}

header {
    background: linear-gradient(135deg, #4a9a94 0%, #5F9EA0 100%);
    background-image: 
        linear-gradient(135deg, #4a9a94 0%, #5F9EA0 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.05) 10px,
            rgba(0, 0, 0, 0.05) 20px
        );
    color: #fff8e8;
    padding: 40px 40px 60px;
    text-align: center;
    border-bottom: 4px solid #FF8C42;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.header-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.3em;
    opacity: 0.95;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

main {
    padding: 40px;
    background: #faf8f3;
}

.section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #d4c5b0;
    position: relative;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    color: #4a9a94;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #FF8C42, transparent);
}

/* YouTube Button */
.youtube-link {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-youtube {
    background: #FF8C42;
    color: #fff8e8;
    border-color: #d2691e;
}

.btn-youtube:hover {
    background: #ff6b35;
    border-color: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(255, 140, 66, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-youtube svg {
    width: 24px;
    height: 24px;
}

/* Journey Button */
.journey-link {
    text-align: center;
}

.btn-journey {
    background: #4a9a94;
    color: #fff8e8;
    border-color: #3a7a74;
}

.btn-journey:hover {
    background: #5F9EA0;
    border-color: #4a9a94;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(74, 154, 148, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-journey svg {
    width: 24px;
    height: 24px;
}

/* Location Section */
.location-container {
    background: #e8e0d4;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 2px solid #d4c5b0;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    display: block;
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.location-overlay:hover ~ .location-preview,
.location-wrapper:hover .location-preview {
    border-color: #FF8C42;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.location-preview {
    width: 100%;
    max-width: 800px;
    height: 500px;
    border: 3px solid #4a9a94;
    border-radius: 4px;
    background: white;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: block;
    pointer-events: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.location-info {
    font-size: 1.2em;
}

.location-info strong {
    color: #4a9a94;
    display: block;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.location-note {
    text-align: center;
    color: #5a5a5a;
    font-size: 0.9em;
    margin-top: 10px;
    font-style: italic;
}

.location-note a {
    color: #4a9a94;
    text-decoration: none;
    border-bottom: 1px dotted #4a9a94;
}

.location-note a:hover {
    color: #FF8C42;
    border-bottom-color: #FF8C42;
}

.loading {
    color: #5a5a5a;
    font-style: italic;
}

.error {
    color: #d32f2f;
}

/* App Store Section */
.app-store-container {
    text-align: center;
    padding: 30px;
}

.no-apps {
    color: #5a5a5a;
    font-style: italic;
    font-size: 1.1em;
}

.app-item {
    display: inline-block;
    margin: 20px;
    padding: 30px;
    background: #e8e0d4;
    border-radius: 4px;
    max-width: 400px;
    vertical-align: top;
    border: 2px solid #d4c5b0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.app-item img {
    width: 100%;
    max-width: 200px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 2px solid #d4c5b0;
}

.app-icon {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    margin: 0 auto 20px !important;
    display: block;
    border-radius: 20px;
    border: none !important;
    box-shadow: none !important;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    padding: 0 !important;
}

.app-item h3 {
    color: #4a9a94;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.5em;
}

.app-category {
    color: #FF8C42;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.app-description {
    color: #5a5a5a;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
}

.app-item p {
    color: #5a5a5a;
    margin-bottom: 15px;
}

.app-store-badge {
    display: inline-block;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.app-store-badge img {
    border: none;
    box-shadow: none;
}

/* Donate Section */
.donate-description {
    text-align: center;
    color: #5a5a5a;
    font-size: 1.1em;
    margin-bottom: 30px;
    font-style: italic;
}

.donate-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.donate-option {
    background: #e8e0d4;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
    border: 2px solid #d4c5b0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donate-option:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #FF8C42;
}

.donate-option h3 {
    color: #4a9a94;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-option p {
    color: #5a5a5a;
    margin-bottom: 20px;
}

.btn-donate {
    background: #FF8C42;
    color: #fff8e8;
    width: 100%;
    justify-content: center;
    border-color: #d2691e;
}

.btn-donate:hover {
    background: #ff6b35;
    border-color: #FF8C42;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(255, 140, 66, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.note {
    font-size: 0.85em;
    color: #7a7a7a;
    margin-top: 10px;
    font-style: italic;
}

/* Footer */
footer {
    background: #4a9a94;
    background-image: 
        linear-gradient(135deg, #4a9a94 0%, #3a7a74 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.05) 10px,
            rgba(0, 0, 0, 0.05) 20px
        );
    color: #fff8e8;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 4px solid #FF8C42;
}

footer a {
    color: #fff8e8;
    text-decoration: none;
    border-bottom: 1px dotted #fff8e8;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

footer a:hover {
    color: #FF8C42;
    border-bottom-color: #FF8C42;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-logo {
        max-width: 80px;
        margin-bottom: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    main {
        padding: 20px;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1em;
    }

    .location-container {
        padding: 10px;
    }

    .location-preview {
        height: 400px;
    }

    .donate-option {
        padding: 20px;
    }

    .app-item {
        padding: 20px;
        margin: 15px 10px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 15px;
    }

    .location-container {
        padding: 8px;
    }

    .location-preview {
        height: 300px;
    }

    .donate-option {
        padding: 15px;
    }

    .app-item {
        padding: 15px;
        margin: 10px 5px;
    }
}

