:root {
    /* Dremel Brand Colors */
    --primary: #00A0DF;
    --primary-dark: #007CAE;
    --secondary: #1a1c20;
    --accent: #FF5A00;
    
    /* UI Colors */
    --bg-dark: #00599e;
    --bg-card: rgba(30, 34, 41, 0.7);
    --text-main: #f4f4f5;
    --text-muted: #e4e4e7;
    --border-color: rgba(255, 255, 255, 0.15);
    
    /* Layout */
    --radius-lg: 16px;
    --radius-md: 8px;
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-header {
    font-family: 'Montserrat', sans-serif;
}

/* Utilities */
.hidden { display: none !important; }

/* Background decoration */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 160, 223, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Global Status Banner */
.status-banner {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 60px 20px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto 40px;
    width: 100%;
}

/* Header & Typography */
.brand-header {
    margin-bottom: 24px;
    text-align: center;
}

.brand-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.text-gradient {
    background: linear-gradient(90deg, #60e0ff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prize-showcase {
    margin-bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prize-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    pointer-events: none;
}

.prize-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Glass Card / Rules Section */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
}

.rules-content {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.rules-content h3 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}

.rules-content p {
    margin-bottom: 16px;
    white-space: pre-wrap;
}

.rules-content strong {
    color: #fff;
}

/* Powered By Slot placement */
#wbx-powered-by-slot {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .glass-card {
        padding: 24px;
    }
}
