/* Neumorphic Luxury Digital Magazine Style */
:root {
    --background-color: #e6e7ee;
    --text-color: #44476a;
    --shadow-light: #ffffff;
    --shadow-dark: #c8cad8;
    --accent-color: #8e94f2;
    --accent-dark: #5a60c7;
    --body-font: 'Montserrat', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-font: 'Playfair Display', 'SF Pro Display', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
    background-image: linear-gradient(120deg, #e6e7ee 0%, #f5f5fa 100%);
}

.header {
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.header h1 {
    margin: 0;
    font-family: var(--header-font);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

.header a {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.header a:hover {
    color: var(--accent-color);
}

.article {
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    background: linear-gradient(145deg, #f0f0f6, #e1e2e9);
}

.article h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.article h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.article-meta {
    color: rgba(68, 71, 106, 0.7);
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(68, 71, 106, 0.1);
    font-family: var(--body-font);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.article-meta span {
    position: relative;
    padding: 0 15px;
}

.article-meta span:first-child {
    padding-left: 0;
}

.article-meta span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -7px;
    color: var(--accent-color);
    opacity: 0.7;
}

.article-content {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-family: var(--header-font);
}

.article-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: all 0.5s ease;
}

.article-content img:hover {
    transform: translateY(-5px);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    position: relative;
}

.article-content ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.article-content blockquote {
    border-left: 3px solid var(--accent-color);
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(142, 148, 242, 0.05);
    border-radius: 8px;
    font-style: italic;
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* Ad Styles */
.article-ad {
    margin: 50px 0;
    padding: 0;
}

.ad-container {
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #f0f0f6, #e1e2e9);
}

.ad-content {
    flex: 1;
    padding: 30px;
    min-width: 280px;
}

.ad-image {
    flex: 0 0 auto;
    width: 250px;
    overflow: hidden;
    border-radius: 0 16px 16px 0;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.ad-image img:hover {
    transform: scale(1.05);
}

.ad-container h3 {
    color: var(--text-color);
    font-family: var(--header-font);
    font-size: 1.6rem;
    margin: 0 0 15px 0;
}

.ad-container p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.ad-button {
    display: inline-block;
    padding: 12px 25px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
    background: linear-gradient(145deg, #f0f0f6, #e1e2e9);
}

.ad-button:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 
        7px 7px 14px var(--shadow-dark),
        -7px -7px 14px var(--shadow-light);
}

.ad-button:active {
    transform: translateY(0);
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

@media (max-width: 768px) {
    .ad-container {
        flex-direction: column;
    }
    
    .ad-image {
        width: 100%;
        height: 200px;
        order: -1;
        border-radius: 16px 16px 0 0;
    }
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    color: rgba(68, 71, 106, 0.7);
    font-size: 0.9rem;
    position: relative;
    border-top: 1px solid rgba(68, 71, 106, 0.1);
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-dark);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(68, 71, 106, 0.1);
}

.nav-link {
    display: inline-block;
    padding: 12px 25px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
    background: linear-gradient(145deg, #f0f0f6, #e1e2e9);
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 
        7px 7px 14px var(--shadow-dark),
        -7px -7px 14px var(--shadow-light);
}

.nav-link:active {
    transform: translateY(0);
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.nav-link.disabled {
    background: linear-gradient(145deg, #e6e7ee, #d1d3e0);
    color: rgba(68, 71, 106, 0.4);
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .article {
        padding: 25px;
    }
    
    .article h2 {
        font-size: 1.8rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
}

.article-featured-image {
    margin: 0 0 30px 0;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-featured-image:hover img {
    transform: scale(1.02);
} 