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

@font-face {
    font-family: 'Teachers';
    src: url('../font/Teachers-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Teachers', sans-serif;
    background-color: #1A1A2E;
    color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #1A1A2E;
    padding: 20px 0;
    border-bottom: 1px solid #2A2A3E;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.active {
    text-decoration: underline;
    text-decoration-color: #4169E1;
    text-underline-offset: 5px;
}

.btn-18 {
    background-color: #FFA500;
    color: #FFFFFF;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-18:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background-image: url('images/PHOTO1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.permit-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #42A5F5;
    border-radius: 25px;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.permit-text {
    color: #1A1A2E;
    font-size: 14px;
    font-weight: 600;
}

.btn-lottery {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1A1A2E;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-lottery:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-align: center;
}

.emoji-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Key Information Cards Section */
.key-info-section {
    background-color: #1A1A2E;
    padding: 60px 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: #2A2A3E;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 1px solid #3A3A4E;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0.2;
}

.info-card-value {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.info-card-label {
    font-size: 16px;
    color: #CCCCCC;
    position: relative;
    z-index: 1;
}

/* Support Section */
.support-section {
    background-color: #1A1A2E;
    padding: 60px 0;
}

.intro-text {
    font-size: 16px;
    color: #CCCCCC;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #2A2A3E;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #3A3A4E;
}

.check-icon-large {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.support-text {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.7;
    flex: 1;
}

/* Buy Tickets Section */
.buy-tickets-section {
    background-color: #1A1A2E;
    padding: 60px 0;
}

/* Important Information Section */
.important-info-section {
    background-color: #1A1A2E;
    padding: 60px 0;
}

.info-box-yellow {
    background-color: #2A2A3E;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 40px auto 0;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-detail-item {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.8;
}

.info-detail-item strong {
    color: #FFD700;
    font-weight: bold;
}

.info-note {
    font-size: 14px;
    color: #CCCCCC;
    text-align: center;
    margin-top: 25px;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #1A1A2E;
    padding: 60px 0 30px;
    border-top: 1px solid #2A2A3E;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
}

.contact-details-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-details-footer p {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3A3A4E;
}

.copyright {
    font-size: 12px;
    color: #AAAAAA;
    margin-bottom: 10px;
}

/* Terms and Conditions Page Styles */
.terms-header {
    background: linear-gradient(135deg, #1A1A2E 0%, #2A3A5E 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(66, 165, 245, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 165, 245, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

.terms-header .container {
    position: relative;
    z-index: 2;
}

.terms-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.terms-updated {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.terms-content {
    background-color: #1A1A2E;
    padding: 60px 0;
    min-height: 60vh;
}

.terms-section-box {
    background-color: #2A2A3E;
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.terms-section-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.terms-section-content {
    color: #CCCCCC;
    line-height: 1.8;
}

.terms-section-content p {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 15px;
}

.terms-subsection-title {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 25px;
    margin-bottom: 12px;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.terms-list li {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
}

.terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    font-size: 20px;
}

.terms-link {
    color: #42A5F5;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.terms-link:hover {
    color: #42A5F5;
}

.privacy-table {
    margin: 20px 0;
    overflow-x: auto;
}

.privacy-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.privacy-table th {
    background-color: #1A1A2E;
    color: #FFFFFF;
    padding: 12px;
    text-align: left;
    border: 1px solid #FFD700;
    font-weight: bold;
}

.privacy-table td {
    padding: 12px;
    border: 1px solid #FFD700;
    color: #CCCCCC;
}

.privacy-table tr:nth-child(even) {
    background-color: #2A2A3E;
}

/* Registration Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #1A1A2E;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #42A5F5;
}

.modal-title {
    font-size: 28px;
    font-weight: bold;
    color: #1A1A2E;
    margin-bottom: 30px;
    text-align: center;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: bold;
    color: #1A1A2E;
}

.required {
    color: #DC143C;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1A1A2E;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #42A5F5;
    background-color: #FFFFFF;
}

.form-input::placeholder {
    color: #999999;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input {
    padding-right: 45px;
    cursor: pointer;
}

.date-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 15px;
    cursor: pointer;
    opacity: 0;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.calendar-icon {
    position: absolute;
    right: 15px;
    font-size: 18px;
    pointer-events: none;
    color: #666666;
    z-index: 1;
}

.btn-register {
    background-color: #FFD700;
    color: #1A1A2E;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
    width: 100%;
}

.btn-register:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
}

.btn-register:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .permit-badge {
        padding: 8px 15px;
        margin-bottom: 20px;
    }

    .permit-text {
        font-size: 12px;
    }

    .btn-lottery {
        padding: 12px 30px;
        font-size: 16px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card-value {
        font-size: 36px;
    }

    .info-box-yellow {
        padding: 25px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .terms-title {
        font-size: 36px;
    }

    .terms-updated {
        font-size: 16px;
    }

    .terms-section-box {
        padding: 20px;
    }

    .terms-section-title {
        font-size: 24px;
    }

    .terms-subsection-title {
        font-size: 18px;
    }

    .modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .registration-form {
        gap: 15px;
    }
}
