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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #ffffff;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .tagline {
    font-size: 0.8rem;
    color: #888;
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ff6b6b;
    font-weight: 500;
}

/* Stock Section */
.stock-section {
    padding: 2rem 0;
}

.loading {
    text-align: center;
    padding: 4rem 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.stock-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stock-date {
    color: #888;
    font-size: 0.9rem;
}

.stock-badge {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stock-name h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stock-name p {
    color: #888;
    font-size: 1rem;
}

.stock-price {
    text-align: right;
}

.stock-price #currentPrice {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.price-change {
    font-size: 1.2rem;
    font-weight: 500;
}

.price-change.positive {
    color: #4caf50;
}

.price-change.negative {
    color: #f44336;
}

.stock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.metric-label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd93d;
}

.stock-chart {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    height: 300px;
}

.stock-analysis {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.stock-analysis h4 {
    color: #ffd93d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stock-analysis p {
    line-height: 1.6;
    color: #cccccc;
}

.ad-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    margin: 2rem 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-ad {
    max-width: 300px;
    margin: 2rem auto;
}

.adsbygoogle {
    display: block !important;
}

/* History Section */
.history-section {
    padding: 4rem 0;
}

.history-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd93d;
}

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

.history-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.history-item:hover {
    transform: translateY(-5px);
}

.history-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.history-stock {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.history-result {
    font-size: 1.1rem;
    font-weight: 500;
}

.history-result.positive {
    color: #4caf50;
}

.history-result.negative {
    color: #f44336;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd93d;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.principles {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.principles h3 {
    color: #ffd93d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.principles ul {
    list-style: none;
}

.principles li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.principles li::before {
    content: "▶";
    color: #ff6b6b;
    position: absolute;
    left: 0;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd93d;
}

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

.review-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.review-failure {
    border-left: 4px solid #f44336;
}

.review-success {
    border-left: 4px solid #4caf50;
}

.review-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-date {
    color: #888;
    font-size: 0.9rem;
}

.review-stock {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.review-result.positive {
    color: #4caf50;
    font-weight: 600;
}

.review-result.negative {
    color: #f44336;
    font-weight: 600;
}

.review-section {
    margin-bottom: 1.5rem;
}

.review-section h4 {
    color: #ffd93d;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.review-section p {
    line-height: 1.6;
    color: #cccccc;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stock-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stock-metrics {
        grid-template-columns: 1fr;
    }
    
    .stock-price #currentPrice {
        font-size: 2rem;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
    }
}
