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

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 250px;
}

.search-box button {
    padding: 8px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.user-menu {
    display: flex;
    gap: 15px;
}

.user-menu a {
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
}

.user-menu a:hover {
    color: #0066cc;
}

/* Main Navigation */
.main-nav {
    background-color: #0066cc;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-menu li {
    flex: 1;
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 18px 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #0052a3;
}

/* Main Slider */
.main-slider {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    padding: 40px 0;
    margin-bottom: 30px;
}

.slider-content {
    display: flex;
    gap: 30px;
}

.lottery-results {
    flex: 1;
}

.lottery-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lottery-card.lotto-main {
    padding: 30px;
}

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.lottery-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.lottery-header .round {
    font-size: 14px;
    color: #666;
}

.round-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.round-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.draw-date {
    font-size: 14px;
    color: #666;
}

.lottery-numbers {
    margin-top: 15px;
}

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

.ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00, #ff6600);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.ball-yellow {
    background: linear-gradient(135deg, #ffd700, #ffb300);
}

.ball-blue {
    background: linear-gradient(135deg, #4169e1, #0047ab);
}

.ball-red {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.plus {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    margin: 0 5px;
}

.lottery-cards-row {
    display: flex;
    gap: 20px;
}

.pension-card,
.speetto-card {
    flex: 1;
}

.pension-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.speetto-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-number {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.banner-side {
    width: 300px;
}

.banner-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.quick-links {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.quick-links h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.quick-links ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.quick-links ul li:last-child {
    border-bottom: none;
}

.quick-links ul li a {
    color: #333;
    transition: color 0.3s;
}

.quick-links ul li a:hover {
    color: #0066cc;
}

/* Featured Section */
.featured-section {
    padding: 40px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.featured-section .container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.featured-item {
    width: 250px;
    text-align: center;
}

.featured-item.highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8b35 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 15px;
}

.featured-item h3 {
    font-size: 24px;
    margin: 15px 0 10px;
}

.info-cards {
    flex: 1;
    display: flex;
    gap: 20px;
}

.info-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #0066cc;
}

.info-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.info-card .amount {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    margin-top: 10px;
}

/* Games Section */
.games-section {
    padding: 40px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.games-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #0066cc;
}

.game-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-title {
    padding: 18px 15px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-buy-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 0 0 12px 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-buy-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Notice Section */
.notice-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    margin-bottom: 30px;
}

.notice-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.notice-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.notice-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.notice-list a:hover {
    color: #0066cc;
}

.notice-list .date {
    font-size: 12px;
    color: #999;
}

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

.social-btn {
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    transition: opacity 0.3s;
}

.social-btn:hover {
    opacity: 0.8;
}

.social-btn.facebook {
    background-color: #1877f2;
}

.social-btn.youtube {
    background-color: #ff0000;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.banner-column img {
    width: 100%;
    border-radius: 10px;
}

/* Images Gallery Section */
.images-gallery-section {
    padding: 40px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.images-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Certifications Section */
.certifications-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    margin-bottom: 30px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.certifications-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certification-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
}

.certification-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.certification-link img {
    height: 30px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

/* Footer */
.footer {
    background-color: #fff;
    color: #333;
    padding: 0;
    border-top: 1px solid #e0e0e0;
}

.footer .container {
    padding: 40px 20px 30px;
}

.footer-content {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-left {
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
}

.business-info-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s;
    text-decoration: none;
}

.business-info-btn:hover {
    background-color: #0052a3;
    color: #fff;
}

.footer-right {
    flex: 1;
}

.company-details {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.company-details p {
    margin-bottom: 10px;
}

.company-details .notice {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.company-details .copyright {
    color: #666;
    font-size: 12px;
    margin-top: 15px;
    font-weight: 500;
}

.footer-certifications {
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-certifications .certified-mark-full {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Check Winning Section */
.check-winning-section {
    padding: 40px 0;
    min-height: 600px;
}

.check-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-btn {
    padding: 15px 40px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #0066cc;
    color: #fff;
}

.tab-content {
    display: none;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.check-form {
    max-width: 700px;
    margin: 0 auto;
}

.check-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.number-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.number-inputs input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: #0052a3;
    color: #fff;
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.winning-info {
    max-width: 900px;
    margin: 40px auto 0;
}

.winning-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.info-table th,
.info-table td,
.data-table th,
.data-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.info-table th,
.data-table th {
    background-color: #0066cc;
    color: #fff;
    font-weight: 500;
}

.info-table tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Store Search Section */
.store-search-section {
    padding: 40px 0;
}

.search-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.store-stats,
.store-list,
.map-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.store-stats h3,
.store-list h3,
.map-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #0066cc;
}

.stat-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #0066cc;
    margin: 10px 0;
}

.stat-desc {
    font-size: 14px;
    color: #999;
}

.map-placeholder {
    height: 400px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Events Section */
.events-section {
    padding: 40px 0;
}

.event-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    height: 250px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.event-badge.ongoing {
    background-color: #28a745;
    color: #fff;
}

.event-badge.ended {
    background-color: #6c757d;
    color: #fff;
}

.event-info {
    padding: 25px;
}

.event-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.event-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-period {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.winners-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.winners-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.notice-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #0066cc;
}

.notice-box strong {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
}

.notice-box ul {
    list-style: disc;
    padding-left: 20px;
}

.notice-box li {
    margin-bottom: 10px;
    color: #666;
}

/* Guide Section */
.guide-section {
    padding: 40px 0;
}

.guide-section .container {
    display: flex;
    gap: 30px;
}

.guide-sidebar {
    width: 250px;
}

.guide-menu {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.guide-menu li {
    margin-bottom: 5px;
}

.guide-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.guide-menu a:hover,
.guide-menu a.active {
    background-color: #0066cc;
    color: #fff;
}

.guide-content {
    flex: 1;
}

.guide-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.guide-item h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 15px;
}

.guide-box {
    margin-top: 20px;
}

.guide-box h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #0066cc;
}

.guide-box p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.guide-box ul,
.guide-box ol {
    margin: 15px 0;
    padding-left: 20px;
}

.guide-box ul {
    list-style: disc;
}

.guide-box ol {
    list-style: decimal;
}

.guide-box li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #0066cc;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 40px 0;
}

.about-intro {
    background-color: #fff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.company-info-section,
.history-section,
.business-section,
.social-contribution,
.contact-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-info-section h2,
.history-section h2,
.business-section h2,
.social-contribution h2,
.contact-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.info-icon {
    width: 200px;
    height: 150px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.business-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline {
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 32px;
    font-weight: bold;
    color: #0066cc;
    min-width: 120px;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.business-card {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-top: 4px solid #0066cc;
}

.business-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0066cc;
}

.business-card p {
    margin-bottom: 15px;
    color: #666;
}

.business-card ul {
    list-style: disc;
    padding-left: 20px;
}

.business-card li {
    margin-bottom: 8px;
    color: #666;
}

.contribution-content {
    margin-top: 30px;
}

.contribution-content > p {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.contribution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contribution-item {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.contribution-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.contribution-item p {
    color: #666;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.contact-details p {
    margin-bottom: 12px;
    color: #666;
    line-height: 1.8;
}

.map-container {
    flex: 1;
}

.transport-info {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.transport-info h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.transport-info ul {
    list-style: none;
}

.transport-info li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .slider-content {
        flex-direction: column;
    }
    
    .banner-side {
        width: 100%;
    }
    
    .featured-section .container {
        flex-direction: column;
    }
    
    .featured-item {
        width: 100%;
    }
    
    .info-cards {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-image {
        height: 180px;
    }
    
    .game-title {
        font-size: 14px;
        padding: 12px;
    }
    
    .game-buy-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .notice-section .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-section .container {
        flex-direction: column;
    }
    
    .guide-sidebar {
        width: 100%;
    }
    
    .info-grid,
    .business-grid,
    .contribution-list {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .images-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .certifications-list {
        gap: 20px;
    }
    
    .certification-link img {
        height: 50px;
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu li {
        flex: 0 0 50%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-section .container {
        grid-template-columns: 1fr;
    }
    
    .images-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .certifications-list {
        gap: 15px;
        flex-direction: column;
    }
    
    .certification-link img {
        height: 45px;
        max-width: 100px;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .number-inputs input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

