@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #3a7bfd;
    --background-color: #f4f6f9;
    --card-background: #ffffff;
    --text-color: #333333;
    --subtle-text: #777777;
    --border-color: #e0e0e0;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    background: var(--card-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}
.hero-banner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    display: block;
}
.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
}
.hero p {
    font-size: 1.1rem;
    color: var(--subtle-text);
}

/* Post Grid & Cards */
.post-grid, .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}
.post-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.post-content {
    padding: 20px;
}
.post-content h3 {
    margin: 0 0 10px 0;
}
.post-content p {
    color: var(--subtle-text);
    font-size: 0.9rem;
    line-height: 1.6;
}
.post-footer {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Post Details Page */
.post-detail-container {
    background: var(--card-background);
    padding: 40px;
    margin: 40px 0;
    border-radius: 10px;
}
.post-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}
.post-gallery img {
    width: 100%;
    border-radius: 8px;
}
.post-description ul {
    list-style: none;
    padding-left: 0;
}
.post-description li {
    padding: 5px 0;
}

/* Contact Buttons */
.contact-buttons-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: #e9efff;
    border-radius: 10px;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.contact-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}
.contact-btn:hover {
    transform: scale(1.05);
}
.contact-btn.telegram { background-color: #0088cc; }
.contact-btn.line { background-color: #00c300; }
.contact-btn.whatsapp { background-color: #25d366; }
.contact-btn.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 30px 0;
    color: var(--subtle-text);
    font-size: 0.9rem;
}

/* --- New Pricing Section Styles --- */
.pricing-section {
    margin: 30px 0;
}
.price-box {
    background-color: #e9efff;
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.price-details .original-price {
    font-size: 1.2rem;
    color: var(--subtle-text);
    text-decoration: line-through;
    margin-right: 15px;
}
.price-details .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.discount-badge {
    background-color: #ffc107;
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transform: rotate(5deg);
}

/* Category Page Styles */
.page-title {
    text-align: center;
    margin-top: 40px;
    font-size: 2.5rem;
}
.category-card {
    display: flex;
    align-items: flex-end;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
}
.category-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}
.category-card-content h3 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
}
.category-card-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
}

/* Sold Banner/Overlay Styles */
.sold-banner {
    background-color: #ef4444;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.sold-overlay span {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 10px 20px;
    border: 4px solid #fff;
    border-radius: 10px;
    transform: rotate(-15deg);
    text-transform: uppercase;
}

/* Gems & RSS Page Styles */
.price-charts-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 60px;
}
#price-charts-container img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Sold Accounts Page Styles */
.sold-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 40px 0;
}
.sold-gallery img {
    max-width: 100%;
    width: 800px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Contact Page Styles */
.contact-page-container {
    display: grid;
    gap: 40px;
    padding: 40px 0;
}
.contact-section {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.contact-section h2 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 25px;
}

/* ========================================= */
/* === RESPONSIVE STYLES FOR MOBILE ======== */
/* ========================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block; /* Show hamburger icon */
        z-index: 100;
    }
    .nav-menu {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-background);
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex; /* Show menu when active */
    }
    .nav-menu li {
        text-align: center;
    }
    .nav-menu a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    /* Adjust Layout and Font Sizes */
    .hero {
        padding: 40px 0;
    }
    .hero h1, .page-title {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .post-grid, .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Details Page Adjustments */
    .post-detail-container {
        padding: 20px;
        margin: 20px 0;
    }
    .post-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .price-box {
        justify-content: center;
        text-align: center;
    }
    .price-details .current-price {
        font-size: 2rem;
    }
    .contact-buttons-section {
        padding: 20px;
    }
    .contact-buttons-section .contact-btn {
        width: 100%;
        justify-content: center;
    }

    /* Contact Page Adjustments */
    .contact-page-container {
        padding: 20px 0;
    }
    .contact-section .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .contact-section .contact-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    /* Sold gallery */
    .sold-gallery {
        padding: 20px 0;
    }
    /* ========================================= */
/* === FIX FOR INVISIBLE HAMBURGER ICON ==== */
/* ========================================= */
.menu-toggle {
    color: #333333 !important; /* Forces the color to be dark gray */
    font-size: 1.6rem;         /* Makes it slightly bigger and easier to see */
    z-index: 1001;             /* Ensures it's on top of other elements */
}
}
/* =================================================== */
/* === Post Details Action Buttons & Modal (NEW) ===== */
/* =================================================== */
.actions-section {
    margin-top: 40px;
    text-align: center;
}

.action-btn {
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Added for icon alignment */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn.buy-now {
    color: white;
    /* New Gradient Background */
    background: linear-gradient(45deg, #2c67e6, #5ab2ff);
    /* New Shadow Effect */
    box-shadow: 0 4px 15px rgba(58, 123, 253, 0.4);
}
.action-btn.buy-now:hover {
    /* Brighter gradient and lifted shadow on hover */
    background: linear-gradient(45deg, #4d8aff, #82c7ff);
    box-shadow: 0 6px 20px rgba(58, 123, 253, 0.5);
    transform: translateY(-3px);
}

.actions-section .contact-buttons-section {
    margin-top: 30px;
    background: none;
    padding: 0;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Darker overlay */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #2a2a2a; /* Darker modal for better contrast */
    color: var(--text-color);
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid var(--primary-color); /* Accent border */
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s;
}

.close-btn {
    color: var(--subtle-text);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover,
.close-btn:focus {
    color: #fff;
}

.modal-content h2 {
    margin-top: 0;
    text-align: center;
    color: #fff;
}
.modal-content p {
    text-align: center;
    color: var(--subtle-text);
    margin-bottom: 25px;
}


.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.modal-content input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #1a1a1a; /* Dark input background */
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* New attractive focus style for inputs */
.modal-content input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 123, 253, 0.3);
}

/* Style for placeholder text */
.modal-content input::placeholder {
    color: #777;
}


@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}