/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #ffd700;
    --primary-gold-dark: #ffb300;
    --primary-purple: #9b59b6;
    --primary-purple-dark: #7d3c98;
    --secondary-crimson: #dc143c;
    --secondary-amber: #ffc107;
    --secondary-rose: #e91e63;
    --secondary-violet: #8e44ad;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #fef9e7;
    --bg-white: #ffffff;
    --border-color: #f4d03f;
    --shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
    --shadow-hover: 0 8px 24px rgba(255, 215, 0, 0.35);
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'MS PGothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.9;
    font-weight: 400;
}

.container {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
    max-width: 1650px;
    margin: 0 auto;
    padding: 24px;
    min-height: calc(100vh - 200px);
}

/* Left Sidebar */
.sidebar-left {
    background-color: var(--bg-white);
    padding: 24px 0;
    border-right: 2px solid var(--border-color);
    position: sticky;
    top: 24px;
    height: fit-content;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: var(--shadow);
    border-radius: 16px;
}

.logo {
    padding: 0 18px 24px;
    border-bottom: 3px solid var(--primary-gold);
    margin-bottom: 24px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.main-nav ul {
    list-style: none;
    padding: 0;
}

.main-nav li {
    margin-bottom: 6px;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.35s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    font-size: 0.95em;
}

.main-nav a i {
    margin-right: 12px;
    width: 22px;
    text-align: center;
    color: var(--primary-purple);
    font-size: 1.1em;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(90deg, var(--bg-light) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-left-color: var(--primary-gold);
    color: var(--primary-purple-dark);
    transform: translateX(4px);
}

.search-box {
    display: flex;
    padding: 18px;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.search-box input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.search-box button {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Main Content */
.main-content {
    background-color: var(--bg-white);
    padding: 0;
}

.page-title {
    font-size: 2.4em;
    color: var(--primary-purple-dark);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Banner */
.hero-banner {
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.banner-content {
    position: relative;
}

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

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(155, 89, 182, 0.95) 0%, rgba(155, 89, 182, 0.7) 100%);
    color: white;
    padding: 32px;
    text-align: center;
}

.banner-text h2 {
    font-size: 2em;
    margin-bottom: 12px;
    font-weight: 700;
}

.banner-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    color: var(--text-dark);
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-amber) 0%, var(--primary-gold) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-violet) 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-violet) 0%, var(--primary-purple) 100%);
}

/* Jackpot Info */
.jackpot-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.jackpot-card {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.jackpot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.jackpot-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
}

.jackpot-text h3 {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.jackpot-text .amount,
.jackpot-text .count {
    font-size: 1.8em;
    color: var(--primary-purple-dark);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Continuous Purchase */
.continuous-purchase {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-violet) 100%);
    padding: 32px;
    border-radius: 18px;
    margin-bottom: 32px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.continuous-purchase img {
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
}

.continuous-text {
    font-size: 1.2em;
    font-weight: 600;
}

/* Lotteries Section */
.lotteries-section {
    margin-bottom: 40px;
}

.lotteries-section h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-gold);
}

.lotteries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.lottery-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.lottery-card img {
    width: 100%;
    height: auto;
    display: block;
}

.lottery-info {
    padding: 20px;
}

.lottery-info h3 {
    font-size: 1.3em;
    color: var(--primary-purple-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.lottery-info .prize {
    font-size: 1.2em;
    color: var(--primary-gold-dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.lottery-info .dates {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 16px;
}

.lottery-buttons {
    display: flex;
    gap: 10px;
}

.lottery-buttons button {
    flex: 1;
}

/* Number Lotteries */
.number-lotteries-section {
    margin-bottom: 40px;
}

.number-lotteries-section h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-gold);
}

.number-lotteries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.number-lottery-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.number-lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(155, 89, 182, 0.2) 100%);
}

.number-lottery-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
}

.number-lottery-info h3 {
    font-size: 1.4em;
    color: var(--primary-purple-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.number-lottery-info .prize {
    font-size: 1.1em;
    color: var(--primary-gold-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

/* Quick One Section */
.quick-one-section {
    margin-bottom: 40px;
}

.quick-one-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-violet) 100%);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.quick-one-banner img {
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.quick-one-content h2 {
    font-size: 2.2em;
    margin-bottom: 16px;
    font-weight: 700;
}

.quick-one-content p {
    font-size: 1.2em;
    margin-bottom: 24px;
}

/* Special Features */
.special-features {
    margin-bottom: 40px;
}

.special-features h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.feature-card img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-content {
    padding: 24px;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.4em;
    color: var(--primary-purple-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Purchase Steps */
.purchase-steps {
    margin-bottom: 40px;
}

.purchase-steps h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.step-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.2em;
    color: var(--primary-purple-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* Right Sidebar */
.sidebar-right {
    background-color: var(--bg-white);
    padding: 24px 0;
    position: sticky;
    top: 24px;
    height: fit-content;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.welcome-box,
.new-user-box,
.schedule-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

.welcome-box h3,
.schedule-box h3 {
    font-size: 1.4em;
    color: var(--primary-purple-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.welcome-box h4 {
    font-size: 1.2em;
    color: var(--primary-purple-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.welcome-box p,
.schedule-box p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95em;
}

.forgot-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forgot-links a {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.forgot-links a:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}

.region-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-region {
    padding: 12px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-region:hover {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.social-links a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-purple-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--secondary-violet) 100%);
    color: white;
    padding: 48px 24px 24px;
    margin-top: 48px;
    border-top: 4px solid var(--primary-gold);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.footer-links a:hover {
    background: rgba(255, 215, 0, 0.3);
    color: var(--primary-gold);
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.footer-disclaimer p {
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-text {
    text-align: center;
    margin-top: 24px;
}

.footer-text p {
    font-size: 0.95em;
    color: var(--primary-gold);
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.back-to-top {
    display: block;
    margin: 24px auto 0;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Policy Page */
.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.policy-page h1 {
    font-size: 2.6em;
    color: var(--primary-purple-dark);
    margin-bottom: 16px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-page .last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95em;
}

.policy-page section {
    margin-bottom: 40px;
}

.policy-page h2 {
    font-size: 1.8em;
    color: var(--primary-purple-dark);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-gold);
}

.policy-page h3 {
    font-size: 1.4em;
    color: var(--primary-purple);
    margin-bottom: 16px;
    margin-top: 24px;
    font-weight: 700;
}

.policy-page p {
    margin-bottom: 16px;
    line-height: 1.9;
    color: var(--text-dark);
}

.policy-page ul,
.policy-page ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.policy-page li {
    margin-bottom: 10px;
    line-height: 1.9;
    color: var(--text-dark);
}

.policy-page strong {
    color: var(--primary-purple-dark);
    font-weight: 700;
}

.policy-page dl {
    margin-bottom: 20px;
}

.policy-page dt {
    font-weight: 700;
    color: var(--primary-purple-dark);
    margin-bottom: 8px;
    margin-top: 16px;
}

.policy-page dd {
    margin-bottom: 16px;
    padding-left: 20px;
    color: var(--text-dark);
    line-height: 1.9;
}

/* FAQ Section */
.faq-section {
    margin-top: 32px;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow);
}

.faq-item h2 {
    font-size: 1.5em;
    color: var(--primary-purple-dark);
    margin-bottom: 16px;
    font-weight: 700;
    border: none;
    padding: 0;
}

.faq-item p {
    margin-bottom: 12px;
}

.faq-item ul {
    margin-top: 12px;
}

/* Results Table */
.results-table-container {
    overflow-x: auto;
    margin-bottom: 32px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.results-table thead {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-violet) 100%);
    color: white;
}

.results-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 1em;
}

.results-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.results-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
}

.results-table a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.results-table a:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}

.lottery-results-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.result-link {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.result-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-amber) 0%, var(--primary-gold) 100%);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid var(--primary-gold);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.close:hover {
    color: var(--primary-purple-dark);
    background: rgba(255, 215, 0, 0.2);
}

.modal-content h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-gold);
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.checkbox-group label a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--secondary-crimson);
    font-size: 0.85em;
    margin-top: 6px;
    display: block;
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.form-buttons button {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 220px 1fr 280px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
        max-height: none;
    }

    .sidebar-left {
        order: 1;
    }

    .main-content {
        order: 2;
    }

    .sidebar-right {
        order: 3;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .page-title {
        font-size: 1.8em;
    }

    .lotteries-grid,
    .number-lotteries-grid {
        grid-template-columns: 1fr;
    }

    .jackpot-info {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-page {
        padding: 20px;
    }

    .policy-page h1 {
        font-size: 2em;
    }

    .policy-page h2 {
        font-size: 1.5em;
    }

    .modal-content {
        padding: 24px;
    }
}

/* Campaigns Section */
.campaigns-section {
    margin-bottom: 40px;
}

.campaigns-section h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.campaign-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.campaign-card img {
    width: 100%;
    height: auto;
    display: block;
}

.campaign-info {
    padding: 20px;
    text-align: center;
}

.campaign-info h3 {
    font-size: 1.3em;
    color: var(--primary-purple-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

/* Learn More Section */
.learn-more-section {
    margin-bottom: 40px;
}

.learn-more-section h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.learn-more-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    border-color: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.tab-content.active {
    display: block;
}

.tab-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
}

.tab-content p {
    font-size: 1.1em;
    line-height: 1.9;
    color: var(--text-dark);
}

/* Beginner Banner */
.beginner-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-violet) 100%);
    padding: 48px;
    border-radius: 20px;
    margin-bottom: 32px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.beginner-content h2 {
    font-size: 2em;
    margin-bottom: 16px;
    font-weight: 700;
}

.beginner-content p {
    font-size: 1.2em;
    margin-bottom: 24px;
}

/* Continuous Details */
.continuous-details {
    margin-bottom: 40px;
}

.continuous-details h2 {
    font-size: 2em;
    color: var(--primary-purple-dark);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.continuous-list {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.continuous-list p {
    font-size: 1.1em;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary-purple-dark);
}

.continuous-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.continuous-list li {
    margin: 0;
}

.continuous-list a {
    display: block;
    padding: 12px 16px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.continuous-list a:hover {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-amber) 100%);
    border-color: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .region-buttons {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        flex-direction: column;
    }
}
