/* Global Stylesheet - Core Styling */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --page-red-top: #c30204;
    --page-red-seam: #dc0504;
    --page-red-bottom: #c30204;
}

/* Body Gradient Background */
body {
    background: linear-gradient(
        to bottom,
        var(--page-red-top) 0%,
        var(--page-red-seam) 34%,
        var(--page-red-bottom) 100%
    );
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C30204;
}

/* Layout Components */
#app-header {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


section {
    margin-bottom: 2rem;
}

footer {
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

aside {
    padding: 1rem;
}

/* Logo Styles */
.app-logo {
    max-width: 112.5px;
    height: auto;
    display: block;
}

/* Hamburger Menu */
.hamburger {
    position: absolute;
    left: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 6px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: white;
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background-color: #f0f0f0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 12px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.payment-status-banner {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1400;
    width: min(92vw, 720px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: #142033;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(7, 14, 28, 0.2);
    backdrop-filter: blur(12px);
}

.payment-status-banner[data-tone="success"] {
    border: 1px solid rgba(31, 162, 106, 0.26);
}

.payment-status-banner[data-tone="warning"] {
    border: 1px solid rgba(217, 138, 32, 0.28);
}

.payment-status-banner[data-tone="error"] {
    border: 1px solid rgba(206, 69, 69, 0.3);
}

.payment-status-banner[data-tone="info"] {
    border: 1px solid rgba(33, 90, 168, 0.24);
}

.payment-status-banner__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.payment-status-banner__title {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
}

.payment-status-banner__message {
    font-size: 0.88rem;
    line-height: 1.45;
}

.payment-status-banner__close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(20, 32, 51, 0.08);
    color: #142033;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .payment-status-banner {
        top: 0.75rem;
        width: calc(100vw - 1rem);
        padding: 0.9rem;
        border-radius: 16px;
    }

    .payment-status-banner__message {
        font-size: 0.84rem;
    }
}
