/* style.css - Unified Stylesheet for Kpopflowers69 */

/* --- Base & Reset --- */
body, h1, h2, h3, p, ul, li, figure, figcaption, blockquote, dl, dd, header, footer, main, section, article, nav {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Apply box-sizing globally */
}

body {
    font-family: 'Inter', sans-serif; /* Consistent font */
    line-height: 1.6;
    background: #f8f9fa; /* Light background (from luxury) */
    color: #2d3436; /* Dark grey text (from luxury) */
    display: flex; /* Used for centering on sociallinks page */
    flex-direction: column; /* Ensure footer stays at bottom */
    min-height: 100vh; /* Ensure body takes full viewport height */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #FF5252; /* Consistent link color (pink from luxury hover) */
    transition: color 0.3s ease;
}

a:hover {
    color: #2d3436; /* Dark grey hover */
}

/* --- General Layout --- */
.container { /* Used on affiliatelinks page */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.main-content { /* Used on index (blog) page */
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2%;
    flex-grow: 1; /* Allows main content to push footer down */
}

/* --- Header & Footer --- */
.site-header, /* Used on index (blog) page */
header { /* Used on affiliatelinks page */
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    padding: 1.5rem 2%; /* Consistent padding */
    border-bottom: 1px solid #eee;
}

.site-footer, /* Used on index (blog) page */
footer { /* Used on affiliatelinks page */
    text-align: center;
    padding: 1.5rem 2%;
    background: #f1f1f1; /* Light grey footer */
    margin-top: auto; /* Pushes footer to bottom */
    border-top: 1px solid #eee;
    width: 100%; /* Ensure footer spans width */
}

.site-footer p, footer p {
     color: #555; /* Slightly muted footer text */
}

/* --- Navigation (for index/blog page) --- */
.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.main-nav a {
    font-weight: bold;
    color: #2d3436; /* Match body text */
    padding: 0.5rem;
}
.main-nav a:hover {
    color: #FF5252; /* Pink hover */
    text-decoration: none; /* Remove underline */
}

/* Site Title (for index/blog page) */
.site-title {
    font-size: 2em;
    margin-bottom: 0.5rem;
}
.site-title a {
     color: inherit; /* Inherit color from parent */
}
.site-title a:hover {
    color: inherit;
}

/* --- Content Sections & Cards --- */
.section-title { /* Used on index (blog) page */
     font-size: 1.5em;
     margin-bottom: 1.5rem;
     text-align: center;
}

.product-card, /* Used on affiliatelinks page */
.blog-post-summary, /* Used on index (blog) page */
.other-links { /* Used on index (blog) page */
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.blog-post-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-card h2, .product-card h3 {
    margin-bottom: 0.75rem; /* Space below headings in cards */
}

.product-card small {
    display: block; /* Make small text block level */
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
}

/* Blog Post Listing (index page specific) */
.blog-posts {
    margin-top: 2rem;
}
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.blog-post-summary {
    padding: 1.5rem; /* Slightly more padding for blog summaries */
    display: flex;
    flex-direction: column;
    text-align: left; /* Align text left in blog cards */
}
.blog-post-summary img {
    border-radius: 4px;
    margin-bottom: 1rem;
}
.blog-post-summary h3 {
    font-size: 1.2em;
    margin-bottom: 0.5rem;
}
.blog-post-summary h3 a {
     color: inherit;
}
.post-excerpt {
    margin-bottom: 1rem;
    flex-grow: 1;
    color: #444; /* Slightly darker excerpt text */
}
.read-more-link {
    display: inline-block;
    font-weight: bold;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 20px; /* Pill shape */
    color: #2d3436;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.read-more-link:hover {
    background-color: #2d3436;
    color: #fff;
    border-color: #2d3436;
}

/* Game Features List Styling (affiliatelinks page) */
.game-features ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
    display: inline-block; /* Center the block */
    color: #555;
}
.game-features li {
    margin-bottom: 8px;
}

/* --- Buttons --- */
.cta-button, /* Used on affiliatelinks page */
.cta-button-style, /* Used on index (blog) page */
.link-button { /* Used on sociallinks page */
    display: inline-block;
    background: #2d3436; /* Dark grey button (from luxury) */
    color: #fff !important; /* White text */
    padding: 12px 30px; /* Consistent padding */
    border-radius: 25px; /* Pill shape */
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover,
.cta-button-style:hover,
.link-button:hover {
    background: #FF5252; /* Pink hover (from luxury) */
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Add subtle shadow on hover */
}

/* Specific style for sociallinks page buttons to be full width */
.sociallinks-page .link-button {
    display: block; /* Make links full width */
    width: 100%;
    margin-bottom: 15px; /* Add space between buttons */
}

/* --- Highlighted VIP Link Styles --- */
.highlight-link {
    background: linear-gradient(45deg, #2AABEE, #229ED9) !important;
    border: 2px solid #2AABEE !important;
    animation: pulse-glow-blue 2s infinite;
    font-size: 1.05em;
}

.highlight-link:hover {
    background: linear-gradient(45deg, #229ED9, #1C88BA) !important;
}

@keyframes pulse-glow-blue {
    0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(42, 171, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

.new-badge-small {
    position: absolute;
    top: -12px;
    right: -10px;
    background: #FF5252;
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 900;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(255, 82, 82, 0.4);
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to the button */
}

/* --- Social Links Page Specific Styles --- */
.sociallinks-page { /* Add this class to the <body> of sociallinks.html */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add padding for smaller screens */
}

.link-container {
    max-width: 600px; /* Slightly narrower */
    width: 100%;
    text-align: center;
    padding: 40px 30px; /* More padding */
    background-color: #fff; /* White background */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); /* Softer shadow */
    border: 1px solid #e0e0e0; /* Match card border */
}

.profile-picture {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto; /* More space below picture */
    border-radius: 50%;
    border: 4px solid #fff; /* White border */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle shadow around picture */
    background-color: #eee; /* Lighter placeholder */
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 30px; /* More space below name */
    color: #2d3436; /* Match body text */
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sociallinks-page .footer { /* Specific footer style for this page */
    margin-top: 30px;
    font-size: 0.9em;
    color: #888; /* Lighter footer text */
    background: none; /* Remove background */
    border: none; /* Remove border */
    padding: 0;
}

.sociallinks-page .footer a {
    color: #FF5252; /* Pink */
}
.sociallinks-page .footer a:hover {
    color: #2d3436; /* Dark grey */
}
.blog-post-full {
            background-color: #fff; /* White background for post area */
            padding: 2rem 3rem; /* More padding */
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            margin-bottom: 2rem; /* Space below post */
        }
        .blog-post-full h1 {
            font-size: 2.2em; /* Larger title */
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }
        .post-meta {
            font-size: 0.9em;
            color: #777;
            margin-bottom: 2rem;
            border-bottom: 1px solid #eee; /* Separator line */
            padding-bottom: 1rem;
        }
        .blog-post-full p {
            margin-bottom: 1.5rem; /* Space between paragraphs */
            font-size: 1.05em; /* Slightly larger body text */
            line-height: 1.7;
        }
        .blog-post-full img { /* Style images within posts */
            margin: 1.5rem 0;
            border-radius: 5px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .back-link {
             display: inline-block;
             margin-top: 2rem;
             font-weight: bold;
             color: #555;
        }
        .back-link:hover {
            color: #FF5252;
        }

        /* Responsive adjustments for blog post */
         @media (max-width: 768px) {
            .blog-post-full { padding: 1.5rem 2rem; }
            .blog-post-full h1 { font-size: 1.8em; }
         }
         @media (max-width: 600px) {
            .blog-post-full { padding: 1rem 1.5rem; }
            .blog-post-full h1 { font-size: 1.6em; }
            .blog-post-full p { font-size: 1em; }
         }


/* --- Responsiveness --- */
@media (max-width: 600px) {
    .site-title { font-size: 1.5em; }
    .main-nav ul { flex-direction: column; gap: 0.5rem; align-items: center;}
    .section-title { font-size: 1.3em; }
    .post-list { grid-template-columns: 1fr; } /* Stack posts */

    .container, .main-content, .link-container {
        padding: 15px; /* Reduce padding */
        margin: 1rem auto;
    }
    .product-card, .blog-post-summary, .other-links {
        padding: 20px;
        margin: 20px 0;
    }
    .cta-button, .cta-button-style, .link-button {
        padding: 10px 25px;
        font-size: 0.95em;
    }
    header, .site-header, footer, .site-footer {
        padding: 1rem 5%;
    }
    .profile-name {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    .profile-picture {
        width: 80px;
        height: 80px;
    }
}