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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Return Button */
.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff00f7, #9d00ff);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 247, 0.4);
}

.return-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 247, 0.6);
    background: linear-gradient(135deg, #ff33f9, #b033ff);
}

.return-btn svg {
    width: 20px;
    height: 20px;
}

.header {
    position: sticky;
    top: 20px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.2);
    border: 1px solid rgba(0, 243, 255, 0.3);
    z-index: 100;
}

.elon-musk-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    border: 4px solid #00f3ff;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.5);
}

h1 {
    font-size: 2em;
    color: #00f3ff;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.balance {
    font-size: 2.5em;
    font-weight: bold;
    color: #00f3ff;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.stat {
    text-align: center;
}

.stat-label {
    font-size: 0.9em;
    color: #8892b0;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.3em;
    font-weight: bold;
    color: #00f3ff;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f3ff, #ff00f7);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

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

.ad-container {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin: 30px auto;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    color: #8892b0;
    font-size: 0.9em;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.item-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
    border-color: rgba(0, 243, 255, 0.5);
}

.item-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.3));
}

.item-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

.item-price {
    font-size: 1em;
    color: #00f3ff;
    margin-bottom: 15px;
    text-align: center;
}

.item-owned {
    text-align: center;
    color: #8892b0;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.buttons {
    display: flex;
    gap: 10px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-btn {
    background: linear-gradient(135deg, #00f3ff, #0099ff);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
}

.buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00d4e6, #0088ee);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.6);
}

.sell-btn {
    background: rgba(255, 0, 247, 0.2);
    color: #ff00f7;
    border: 1px solid rgba(255, 0, 247, 0.3);
}

.sell-btn:hover:not(:disabled) {
    background: rgba(255, 0, 247, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 0, 247, 0.4);
}

button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .balance {
        font-size: 1.8em;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SEO Article Section Styles
   ======================================== */

.seo-article {
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.2);
}

.article-header h2 {
    font-size: 2em;
    color: #00f3ff;
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.article-content {
    color: #ccd6f6;
    font-size: 1.05em;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.15em;
    color: #e6f1ff;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 243, 255, 0.05);
    border-left: 4px solid #00f3ff;
    border-radius: 0 12px 12px 0;
}

.article-section {
    margin-bottom: 40px;
}

.article-section h3 {
    font-size: 1.5em;
    color: #00f3ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.article-section h4 {
    font-size: 1.2em;
    color: #ff00f7;
    margin-bottom: 12px;
}

.article-section p {
    margin-bottom: 18px;
}

.article-section strong {
    color: #00f3ff;
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box.accent {
    background: rgba(255, 0, 247, 0.08);
    border-color: rgba(255, 0, 247, 0.2);
}

.highlight-box.accent h4 {
    color: #ff00f7;
}

.highlight-box h4 {
    margin-top: 0;
    color: #00f3ff;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Strategy Box */
.strategy-box {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(255, 0, 247, 0.1));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.strategy-box h4 {
    color: #00f3ff;
    margin-top: 0;
    margin-bottom: 15px;
}

.strategy-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-box li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.strategy-box li:last-child {
    margin-bottom: 0;
}

.strategy-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff00f7;
    font-weight: bold;
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.shopping-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 26, 46, 0.9);
    min-width: 500px;
}

.shopping-table thead {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(255, 0, 247, 0.2));
}

.shopping-table th {
    padding: 18px 15px;
    text-align: left;
    color: #00f3ff;
    font-weight: bold;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
}

.shopping-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    color: #ccd6f6;
}

.shopping-table tbody tr {
    transition: background 0.2s ease;
}

.shopping-table tbody tr:hover {
    background: rgba(0, 243, 255, 0.05);
}

.shopping-table tbody tr:last-child td {
    border-bottom: none;
}

.shopping-table td strong {
    color: #fff;
}

/* Article Conclusion */
.article-conclusion {
    background: rgba(0, 243, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 243, 255, 0.15);
}

.cta-text {
    font-size: 1.1em;
    color: #e6f1ff;
    font-style: italic;
    margin-bottom: 0 !important;
}

/* Site Footer */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    color: #8892b0;
    font-size: 0.9em;
}

/* ========================================
   Article Responsive Styles
   ======================================== */

@media (max-width: 768px) {
    .seo-article {
        padding: 25px 20px;
        margin: 25px 0;
        border-radius: 15px;
    }

    .article-header h2 {
        font-size: 1.5em;
    }

    .article-content {
        font-size: 1em;
    }

    .article-intro {
        font-size: 1.05em;
        padding: 15px;
    }

    .article-section h3 {
        font-size: 1.3em;
    }

    .article-section h4 {
        font-size: 1.1em;
    }

    .highlight-box,
    .strategy-box {
        padding: 20px 15px;
    }

    .shopping-table th,
    .shopping-table td {
        padding: 12px 10px;
        font-size: 0.9em;
    }

    .article-conclusion {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .seo-article {
        padding: 20px 15px;
    }

    .article-header h2 {
        font-size: 1.3em;
    }

    .article-section h3 {
        font-size: 1.2em;
    }

    .table-wrapper {
        margin: 20px -15px;
        border-radius: 0;
    }

    .shopping-table {
        font-size: 0.85em;
    }
}