/* Modern, Clean CSS for Games Promo Codes */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

header h1 a {
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Main Content */
main {
    background: white;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Homepage */
.intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.intro h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.2rem;
    color: #666;
}

.recent-posts h2 {
    margin-bottom: 2rem;
    color: #333;
}

/* Post Preview */
.post-preview {
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.post-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-preview-content {
    flex: 1;
    min-width: 0;
}

.post-preview h2 {
    margin-bottom: 0.5rem;
}

.post-preview h2 a {
    color: #667eea;
    text-decoration: none;
}

.post-preview h2 a:hover {
    text-decoration: underline;
}

.post-preview time {
    color: #999;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.post-preview .excerpt {
    color: #666;
    margin-bottom: 1rem;
}

.post-preview .read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.post-preview .read-more:hover {
    text-decoration: underline;
}

/* Single Post */
.post {
    padding: 2rem;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: none;
    background: none;
    box-shadow: none;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.post-header time {
    color: #999;
    font-size: 0.9rem;
}

.featured-image {
    margin: 2rem 0;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-content h2 {
    font-size: 2rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content iframe {
    max-width: 100%;
    margin: 1.5rem 0;
}

.post-content a {
    color: #667eea;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.post-footer a {
    color: #667eea;
    text-decoration: none;
    margin-right: 0.5rem;
}

.post-footer a:hover {
    text-decoration: underline;
}

/* Category/Tag Pages */
.category-page h1,
.tag-page h1 {
    margin-bottom: 2rem;
    color: #333;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0;
}

/* Download Buttons */
.button-row {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.button-column {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.button-column a {
    color: white !important;
}

.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 200px;
    border: none;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0.9;
}

.download-button:active {
    transform: translateY(0);
}

/* Icons removed from buttons */

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .intro h1 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    main {
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .post-preview {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .post-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .post {
        padding: 1.5rem;
    }
    
    .button-row {
        flex-direction: column;
    }
    
    .button-column {
        width: 100%;
    }
    
    .download-button {
        width: 100%;
        min-width: auto;
    }
}
