
:root {
    /* Color Palette */
    --primary-blue: #0f192b;
    --secondary-blue: #1c2d46;
    --accent-blue: #007bff;
    --accent-blue-hover: #0056b3;
    --accent-orange: #ff5722;
    --accent-orange-hover: #e64a19;
    --text-white: #ffffff;
    --text-grey: #aab2bd;
    --text-dark: #333333;
    --bg-body: #f4f6f9;
    --bg-card: #ffffff;
    
    /* Info Box Colors */
    --info-bg: #e1f5fe;
    --info-border: #0288d1;
    --success-bg: #e8f5e9;
    --success-border: #388e3c;
    --warning-bg: #fff3e0;
    --warning-border: #f57c00;
    --danger-bg: #ffebee;
    --danger-border: #d32f2f;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --border-radius-pill: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-button: 0 4px 14px 0 rgba(255, 87, 34, 0.39);
}

/* Reset & Normalize */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Classes */
.flex { display: flex; }
.aic { align-items: center; }
.jcc { justify-content: center; }
.fxs { flex-shrink: 0; }
.fxg { flex-grow: 1; }
.mr-20 { margin-right: 1.25rem; }
.ml-10 { margin-left: 0.625rem; }
.mb-30 { margin-bottom: 1.875rem; }
.mt-40 { margin-top: 2.5rem; }
.pt-10 { padding-top: 0.625rem; }
.pb-10 { padding-bottom: 0.625rem; }
.pl-20 { padding-left: 1.25rem; }
.pr-20 { padding-right: 1.25rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-20 { padding-bottom: 1.25rem; }
.text-fff { color: var(--text-white); }
.fw500 { font-weight: 500; }
.ttu { text-transform: uppercase; }
.center { text-align: center; }
.round-20 { border-radius: 1.25rem; }

/* Layout Wrappers */
.wrap {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wrap_2 {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header Styles */
header {
    background-color: var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.05);
}

/* Navigation Menu */
.menu-main ul {
    background-color: var(--secondary-blue);
    padding: 0.5rem 1rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.menu-main a {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    color: var(--text-grey);
    position: relative;
    display: flex;
    align-items: center;
}

.menu-main a:hover,
.menu-main a:focus {
    color: var(--text-white);
    background-color: rgba(255,255,255,0.05);
}

.menu-main a svg {
    width: 80px;
    height: auto;
    fill: currentColor;
}

.link-bonus svg {
    width: 20px;
    height: 20px;
}

/* Buttons in Header */
.head-top-left a {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.bg-orang {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff7043 100%);
    color: #fff;
}

.bg-orang:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #e64a19 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.bg-blue {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #42a5f5 100%);
    color: #fff;
}

.bg-blue:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover) 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

/* Mobile Menu Trigger */
.open-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.open-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content Area */
.main {
    padding: 2.5rem 0;
    min-height: calc(100vh - 200px);
}

.content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Typography in Content */
h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--secondary-blue);
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* CTA Buttons in Content */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    box-shadow: var(--shadow-button);
}

/* Images in Content */
figure.image {
    margin: 2rem 0;
    text-align: center;
}

figure.image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: inline-block;
}

figure.image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Info Boxes */
.info-box {
    border-left: 5px solid;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 1.05rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box-info {
    background-color: var(--info-bg);
    border-color: var(--info-border);
    color: #01579b;
}

.info-box-success {
    background-color: var(--success-bg);
    border-color: var(--success-border);
    color: #1b5e20;
}

.info-box-warning {
    background-color: var(--warning-bg);
    border-color: var(--warning-border);
    color: #e65100;
}

.info-box-danger {
    background-color: var(--danger-bg);
    border-color: var(--danger-border);
    color: #b71c1c;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--text-grey);
    padding: 2rem 0;
    margin-top: auto;
}

.copy {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

/* Utility visibility classes */
.hide { display: none !important; }

/* Media Queries */
@media (min-width: 992px) {
    .show_992 { display: none !important; }
}

@media (max-width: 991px) {
    .hide_992 { display: none !important; }
    
    .menu-main {
        display: none; /* In a real scenario, this would be a toggleable mobile menu */
    }
    
    .logo {
        margin-right: auto;
    }
    
    .head-top-left {
        margin-left: 1rem;
    }
    
    .show_992 {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }
    
    .head {
        flex-wrap: wrap;
    }
    
    .info-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
    }
    
    h1 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 550px) {
    .hide_550 { display: none !important; }
    
    .head-top-left a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

article {
    animation: fadeIn 0.6s ease-out forwards;
}
