/* styles.css */

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(45, 39, 35, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(218, 165, 32, 0.1);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2723 50%, #1e1e1e 100%);
    opacity: 0.9;
    z-index: -1;
}

.header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(218, 165, 32, 0.05), rgba(255, 215, 0, 0.03));
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

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

.logo::before {
    content: '💰';
    font-size: 32px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(218, 165, 32, 0.3));
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    background: linear-gradient(45deg, #DAA520, #FFD700, #FFF8DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo h1 a {
    color: transparent !important;
    background: linear-gradient(45deg, #DAA520, #FFD700, #FFF8DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transition: all 0.3s ease;
}

.logo h1 a:hover {
    background: linear-gradient(45deg, #FFD700, #FFFF00, #FFFACD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #E5E5DC;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(218, 165, 32, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.15);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.25), transparent);
    transition: left 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover {
    background: rgba(218, 165, 32, 0.2);
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(218, 165, 32, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.3);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center; /* Horizontally center */
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 35vh; /* Pushes content down from the top */
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bht.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(3px); /* Reduced blur */
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darker overlay (50% opacity) for better text visibility */
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 10px #000;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-shadow: none;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 35px;
    color: #1a1a1a;
    position: relative;
    padding: 0 20px;
}

section h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520);
    transform: translateY(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #DAA520, transparent);
    transform: translateY(-50%);
}

.rates h2 {
    background: linear-gradient(135deg, #1a1a1a, #DAA520, #1a1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Rates Section */
.rates {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.rates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(218, 165, 32, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.rate-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.rate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 auto;
    max-width: 900px;
    background: linear-gradient(145deg, #ffffff, #fefefe);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
                0 8px 25px rgba(218, 165, 32, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(218, 165, 32, 0.1);
}

.rate-table th {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2723 50%, #1e1e1e 100%);
    color: #FFD700;
    font-weight: 700;
    font-size: 16px;
    padding: 20px 15px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: none;
    position: relative;
}

.rate-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
}

.rate-table td {
    padding: 18px 15px;
    text-align: center;
    border: none;
    border-bottom: 1px solid rgba(218, 165, 32, 0.08);
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.rate-table tbody tr {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.rate-table tbody tr:nth-child(even) {
    background: rgba(248, 249, 250, 0.9);
}

.rate-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08), rgba(255, 215, 0, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.15);
}

.rate-table tbody tr:hover td {
    color: #1a1a1a;
}

/* 첫 번째 열 (구분) 스타일 */
.rate-table td:first-child {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), rgba(255, 215, 0, 0.03));
    font-weight: 700;
    color: #DAA520;
    border-right: 2px solid rgba(218, 165, 32, 0.1);
}

/* 가격 강조 스타일 */
.rate-table td:nth-child(3) {
    font-weight: 700;
    color: #e74c3c;
    font-size: 15px;
}

.rate-table td:nth-child(4) {
    font-weight: 600;
    color: #27ae60;
    font-size: 15px;
}

.rate-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(218, 165, 32, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08),
                0 5px 15px rgba(218, 165, 32, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.rate-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #DAA520, #FFD700, #DAA520);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

.rate-info::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.rate-info h3 {
    margin-bottom: 25px;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.rate-info h3::before {
    content: '💡';
    position: absolute;
    left: -10px;
    top: 0;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.3));
}

.rate-info ul {
    list-style-type: none;
    position: relative;
    z-index: 1;
}

.rate-info ul li {
    margin-bottom: 18px;
    padding: 15px 20px 15px 50px;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border-left: 3px solid rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    line-height: 1.6;
    color: #2c3e50;
}

.rate-info ul li:hover {
    background: rgba(218, 165, 32, 0.05);
    border-left-color: #DAA520;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.1);
}

.rate-info ul li::before {
    content: '⭐';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.2));
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

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

.service-description p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.service-highlight {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.service-highlight h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-highlight ul {
    list-style: none;
}

.service-highlight ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.service-highlight ul li .fa-check {
    color: #27ae60;
    position: absolute;
    left: 0;
    top: 5px;
}

.games-list {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.games-list h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.games-list ul {
    list-style: none;
}

.games-list ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.games-list ul li .fa-gamepad {
    color: #3498db;
    position: absolute;
    left: 0;
    top: 5px;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

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

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 30px;
    color: #555;
    font-size: 18px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-method i {
    color: #3498db;
    margin-right: 15px;
    margin-top: 5px;
    width: 24px;
    text-align: center;
}

.contact-method div h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-method div a {
    text-decoration: none;
    color: #555;
    font-size: 18px;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-method div a:hover {
    color: #3498db;
}

.contact-note {
    background-color: #f0f5ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.contact-note h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.note-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.note-content .highlight {
    font-weight: 700;
    color: #e74c3c;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

/* Admin Section */
.admin {
    background-color: #fff;
}

.admin h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.rate-form-container {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-button, .secondary-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.submit-button:hover, .secondary-button:hover {
    background-color: #2980b9;
}

.secondary-button {
    background-color: #95a5a6;
}

.secondary-button:hover {
    background-color: #7f8c8d;
}

.current-rates {
    background-color: #f0f5ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.rate-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.rate-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.instructions {
    background-color: #fff8e1;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
}

.instructions ol {
    margin-top: 20px;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-social a {
    color: white;
    font-size: 24px;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
        gap: 15px;
    }

    .logo::before {
        font-size: 28px;
    }

    .logo h1 {
        font-size: 28px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    nav ul li a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .services-content {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin: 20px 0;
    }
    
    .footer-social a {
        margin: 0 10px;
    }
    
    .rate-table {
        font-size: 14px;
    }
    
    .rate-table th,
    .rate-table td {
        padding: 10px 5px;
    }
}