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

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #1a1c27;
}

h1, h2, h3 {
    color: #fff;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 2px;
}

/* Header & Nav */
header {
    background-color: rgba(15, 17, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffc107;
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffc107;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1531266752426-aad472b7bdf4?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

/* Calculator Section */
.calculator-box {
    background-color: #1e2130;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.05);
}

.input-container {
    margin-bottom: 30px;
    text-align: left;
}

.input-container label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #ffc107;
}

.input-container input {
    width: 100%;
    padding: 18px;
    border: 2px solid #2d3142;
    background-color: #2d3142;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s;
}

.input-container input:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 15px rgba(255,193,7,0.2);
}

#calculate-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a1a1a;
    border: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
}

#calculate-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

#result {
    margin-top: 50px;
    display: none;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

#result-text {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.name-highlight { color: #ffc107; }
.zodiac-highlight { 
    color: #ffc107; 
    text-shadow: 0 0 20px rgba(255,193,7,0.5);
    border-bottom: 2px solid #ffc107;
}

#result-detail {
    color: #aaa;
    margin-bottom: 35px;
    font-size: 1.2rem;
    padding: 0 30px;
    line-height: 1.9;
}

#result-image-container {
    position: relative;
    padding: 15px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zodiac-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 2px solid rgba(255,193,7,0.3);
    transition: all 0.5s ease;
}

.zodiac-img.active {
    animation: intenseGlow 4s infinite alternate;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,193,7,0.1);
    border-top: 5px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes intenseGlow {
    from { box-shadow: 0 0 30px rgba(255,193,7,0.3), 0 0 60px rgba(0,0,0,0.5); }
    to { box-shadow: 0 0 60px rgba(255,193,7,0.6), 0 0 100px rgba(0,0,0,0.8); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Zodiac Grid */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.zodiac-card {
    background-color: #1e2130;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.03);
}

.zodiac-card:hover {
    transform: translateY(-10px);
    background-color: #252839;
    border-color: rgba(255,193,7,0.2);
}

.zodiac-card h3 {
    text-align: left;
    margin-top: 0;
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.zodiac-card p {
    color: #999;
}

/* Footer */
footer {
    background-color: #080a11;
    color: #fff;
    padding: 80px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-info p {
    color: #666;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .calculator-box {
        padding: 30px;
    }
}
