:root {
    --bg-dark: #0a051b;
    --blue-accent: #1e3a8a;
    --purple-accent: #581c87;
    --gold-main: #f59e0b;
    --gold-hover: #d97706;
    --text-light: #f3f4f6;
    --text-gold: #fbbf24;
    --glass-bg: rgba(25, 16, 49, 0.75);
    --border-gold: rgba(245, 158, 11, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: radial-gradient(circle at top, #1c0836 0%, var(--bg-dark) 70%, #04020a 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header & Nav */
header {
    width: 100%;
    background: linear-gradient(90deg, #0d0722 0%, var(--purple-accent) 50%, #0d0722 100%);
    border-bottom: 2px solid var(--gold-main);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    max-height: 55px;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
    transition: transform 0.3s ease;
}

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

.cta-header {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    display: inline-block;
}

.btn-login {
    background: linear-gradient(135deg, #2563eb, var(--purple-accent));
    color: #fff;
    border: 1px solid #3b82f6;
}

.btn-login:hover {
    background: linear-gradient(135deg, #1d4ed8, #4c1d95);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, var(--gold-main), #b45309);
    color: #000;
    border: 1px solid #fde047;
    animation: pulse-gold 2s infinite;
}

.btn-register:hover {
    background: linear-gradient(135deg, #f59e0b, var(--gold-hover));
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.9);
    transform: translateY(-2px);
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Layout */
.container {
    max-width: 1100px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    flex: 1;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--glass-bg);
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    margin-bottom: 20px;
    font-size: 14px;
    backdrop-filter: blur(5px);
}

.breadcrumb a {
    color: var(--text-gold);
    text-decoration: none;
}

.breadcrumb span {
    color: #9ca3af;
    margin: 0 8px;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--gold-main);
    box-shadow: 0 0 25px rgba(88, 28, 135, 0.5);
    margin-bottom: 25px;
}

.hero-banner img {
    width: 100%;
    display: block;
    height: auto;
}

/* RTP Live Bar Widget */
.rtp-widget {
    background: var(--glass-bg);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(5px);
}

.rtp-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rtp-badge {
    background: var(--gold-main);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.progress-bar-bg {
    width: 200px;
    height: 12px;
    background: #1f2937;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gold-main);
}

.progress-bar-fill {
    height: 100%;
    width: 89.67%;
    background: linear-gradient(90deg, #10b981, #f59e0b);
    border-radius: 6px;
}

.main-title {
    text-align: center;
    font-size: 26px;
    color: var(--gold-main);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    margin-bottom: 25px;
    padding: 15px;
    background: var(--glass-bg);
    border-radius: 8px;
    border-left: 4px solid var(--gold-main);
    border-right: 4px solid var(--gold-main);
}

/* Gallery 4 Mini Images Grid */
.mini-gallery-title {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 15px;
    border-left: 4px solid var(--purple-accent);
    padding-left: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5deg);
    border-color: var(--gold-main);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Article Content */
.article-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    line-height: 1.8;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

.article-card p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-card a.canonical-link {
    color: var(--gold-main);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-card a.canonical-link:hover {
    color: #fde047;
}

/* Certificate Section */
.cert-section {
    background: var(--glass-bg);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.cert-section h3 {
    color: var(--gold-main);
    margin-bottom: 15px;
}

.cert-box {
    display: inline-block;
    max-width: 300px;
    border: 2px solid var(--gold-main);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    transition: transform 0.3s;
}

.cert-box:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.cert-box img {
    width: 100%;
    display: block;
}

/* FAQ Section */
.faq-section {
    background: var(--glass-bg);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.faq-section h2 {
    color: var(--gold-main);
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item h3 {
    color: #60a5fa;
    font-size: 18px;
    margin-bottom: 5px;
}

.faq-item p {
    color: #d1d5db;
    font-size: 15px;
}

/* Floating LiveChat Widget */
.floating-livechat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    animation: bounce 2s infinite;
}

.floating-livechat img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.7);
    border: 2px solid var(--gold-main);
    background: #000;
    transition: transform 0.3s;
}

.floating-livechat img:hover {
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-8px);}
    60% {transform: translateY(-4px);}
}

/* Footer */
footer {
    width: 100%;
    background: #05020c;
    border-top: 2px solid var(--gold-main);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

footer strong {
    color: var(--gold-main);
}