/* Qwelotos - Premium Design System */
:root {
    --color-primary: #0891b2;
    --color-primary-light: #06b6d4;
    --color-primary-dark: #0e7490;
    --color-accent: #f97316;
    --color-accent-light: #fb923c;
    --color-success: #10b981;
    --color-gold: #fbbf24;
    --color-bg: #f1f5f9;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.06);
    --shadow-md: 0 5px 12px rgba(0,0,0,0.09);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.13);
    --shadow-xl: 0 24px 40px rgba(0,0,0,0.18);
    --radius: 28px;
    --radius-sm: 14px;
}

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

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* Header */
.top-header {
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.375rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.125rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-primary);
    letter-spacing: -0.015em;
}

.top-nav {
    display: flex;
    gap: 2.75rem;
}

.nav-item-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s;
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
}

.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.nav-item-link:hover {
    color: var(--color-primary);
}

.nav-item-link:hover::after {
    width: 100%;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-btn span {
    width: 27px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-surface);
    z-index: 1000;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.625rem;
}

.mobile-nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3125rem;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 0.875rem 0;
    display: block;
    border-bottom: 2px solid var(--color-border);
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

/* Content Area */
.content-area {
    min-height: calc(100vh - 195px);
}

/* Featured Banner */
.featured-banner {
    background: linear-gradient(140deg, var(--color-primary-dark) 0%, var(--color-primary) 42%, var(--color-accent) 100%);
    color: white;
    padding: 6.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12) 0%, transparent 70%);
}

.banner-wrapper {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-main-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 4.75rem;
    font-weight: 800;
    margin-bottom: 1.375rem;
    letter-spacing: -0.025em;
}

.banner-description-text {
    font-size: 1.6875rem;
    margin-bottom: 2.75rem;
    opacity: 0.97;
    font-weight: 500;
}

.prize-container {
    margin: 2.75rem 0;
}

.primary-amount {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
}

.additional-prizes {
    display: block;
    font-size: 1.4375rem;
    opacity: 0.97;
    font-weight: 600;
}

/* Buttons */
.action-btn {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 1.1875rem 2.875rem;
    font-size: 1.1875rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    font-family: 'Roboto Condensed', sans-serif;
}

.action-btn:hover {
    background: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.action-large {
    font-size: 1.375rem;
    padding: 1.5rem 3.75rem;
}

.action-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.9375rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
    box-shadow: none;
}

.action-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.action-small {
    padding: 0.75rem 1.625rem;
    font-size: 0.96875rem;
}

.action-full {
    width: 100%;
}

/* Content Wrapper */
.content-wrapper {
    padding: 5.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.75rem;
}

/* Results Panel */
.results-panel {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
    gap: 1.125rem;
}

.section-heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
}

.game-dropdown {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.0625rem;
    background: var(--color-surface);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

.game-dropdown:focus {
    outline: none;
    border-color: var(--color-primary);
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.game-label {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.numbers-container {
    display: flex;
    gap: 1.125rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2.75rem 0;
}

.ball {
    width: 62px;
    height: 62px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4375rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.ball.special {
    background: var(--color-gold);
    color: var(--color-text);
}

.panel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
    flex-wrap: wrap;
    gap: 1.125rem;
}

.results-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
}

.results-link:hover {
    text-decoration: underline;
}

/* Prizes List */
.prizes-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.prize-item {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s;
}

.prize-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.item-title {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.item-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.item-amount.featured {
    color: var(--color-primary);
}

.item-amount.stacked {
    color: var(--color-accent);
}

.item-bonus {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.item-bonus.premium {
    color: var(--color-gold);
    font-weight: 700;
}

.item-category {
    font-size: 0.90625rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    margin-bottom: 0.5625rem;
    font-weight: 600;
}

.item-note {
    font-size: 0.84375rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
    font-style: italic;
}

.prize-item.stacked {
    border-left: 5px solid var(--color-accent);
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 3.5rem;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.popup-close {
    position: absolute;
    top: 1.375rem;
    right: 1.375rem;
    background: none;
    border: none;
    font-size: 2.375rem;
    color: var(--color-text-light);
    cursor: pointer;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s;
}

.popup-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.popup-header {
    margin-bottom: 3rem;
}

.popup-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.375rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.popup-header p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
}

/* Form */
.join-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-size: 0.90625rem;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="password"],
.input-group select {
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.0625rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.90625rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 21px;
    height: 21px;
    cursor: pointer;
}

/* Footer */
.bottom-footer {
    background: var(--color-surface);
    border-top: 2px solid var(--color-border);
    padding: 5rem 2rem 2.25rem;
    margin-top: 5.5rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 4rem;
}

.footer-column h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1875rem;
    font-weight: 800;
    margin-bottom: 1.875rem;
    color: var(--color-text);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.9375rem;
}

.footer-list a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.90625rem;
    font-weight: 500;
}

.footer-list a:hover {
    color: var(--color-primary);
}

/* Featured Column */
.featured-column {
    max-width: 100%;
}

.feature-block {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.875rem;
    padding-bottom: 1.875rem;
    border-bottom: 2px solid var(--color-border);
    transition: transform 0.3s;
}

.feature-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-block:hover {
    transform: translateX(6px);
}

.feature-img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.feature-symbol {
    font-size: 1.9375rem;
}

.feature-info {
    flex: 1;
}

.feature-heading {
    display: block;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-family: 'Roboto Condensed', sans-serif;
    transition: color 0.3s;
}

.feature-heading:hover {
    color: var(--color-primary);
}

.feature-desc {
    font-size: 0.90625rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.55;
}

/* Nav Column */
.nav-column {
    display: flex;
    flex-direction: column;
}

.app-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--color-border);
}

.app-block h3 {
    margin-bottom: 1.5rem;
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    background: var(--color-bg);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s;
}

.app-button:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.app-symbol {
    font-size: 2.375rem;
}

.nav-column h3 {
    margin-top: 3rem;
}

.nav-column h3:first-of-type {
    margin-top: 0;
}

/* Social Column */
.social-column {
    display: flex;
    flex-direction: column;
}

.social-set {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--color-text);
}

.social-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px);
}

.btn-icon {
    font-size: 1.1875rem;
    font-weight: 700;
}

.logo-block {
    margin: 3rem 0;
    padding: 2.5rem 0;
    border-top: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
}

.logo-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.015em;
}

/* Legal Column */
.legal-column {
    grid-column: 1 / -1;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
    margin-top: 2rem;
}

.badge-set {
    display: flex;
    gap: 2.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge-item {
    padding: 1rem 1.875rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-border);
}

.badge-text {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.125rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.badge-label {
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 0.96875rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.legal-info {
    font-size: 0.90625rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.65;
}

.footer-copyright-area {
    grid-column: 1 / -1;
    padding-top: 3rem;
    border-top: 2px solid var(--color-border);
    margin-top: 2rem;
    text-align: center;
}

.copyright-line {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 0.96875rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.disclaimer-text {
    font-size: 0.84375rem;
    color: var(--color-text-light);
    line-height: 1.75;
    max-width: 950px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .top-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .banner-main-title {
        font-size: 3.5rem;
    }
    
    .primary-amount {
        font-size: 3rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nav-column h3 {
        margin-top: 2.5rem;
    }
    
    .header-inner {
        padding: 1.25rem 1.875rem;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 4rem 1.625rem;
    }
    
    .results-panel,
    .prize-item {
        padding: 2.25rem;
    }
    
    .popup-box {
        padding: 2.5rem;
    }
    
    .bottom-footer {
        padding: 4rem 1.625rem 2rem;
    }
    
    .featured-banner {
        padding: 5rem 1.625rem;
    }
    
    .banner-main-title {
        font-size: 3rem;
    }
    
    .primary-amount {
        font-size: 2.5rem;
    }
    
    .banner-description-text {
        font-size: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .panel-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-secondary {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 1.125rem 1.625rem;
    }
    
    .site-logo {
        font-size: 1.875rem;
    }
    
    .featured-banner {
        padding: 4rem 1.375rem;
    }
    
    .content-wrapper {
        padding: 3.5rem 1.375rem;
    }
    
    .results-panel,
    .prize-item {
        padding: 2rem;
    }
    
    .popup-box {
        padding: 2.25rem;
    }
    
    .bottom-footer {
        padding: 3.5rem 1.375rem 1.875rem;
    }
    
    .footer-inner {
        gap: 2.5rem;
    }
    
    .feature-block {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-img {
        margin: 0 auto;
    }
    
    .badge-set {
        justify-content: center;
        gap: 1.375rem;
    }
    
    .social-set {
        justify-content: center;
    }
    
    .banner-main-title {
        font-size: 2.5rem;
    }
    
    .primary-amount {
        font-size: 2rem;
    }
    
    .banner-description-text {
        font-size: 1.3125rem;
    }
    
    .ball {
        width: 55px;
        height: 55px;
        font-size: 1.3125rem;
    }
    
    .item-amount {
        font-size: 2rem;
    }
}
