/**
 * Prompt Generator Styles
 * Matching the design from the image
 *
 * @package MadePrompt
 */

/* Prompt Generator Wrapper */
.prompt-generator-wrapper {
    width: 100%;
    margin: 0 0 var(--section-gap) 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prompt-generator-box {
    width: 100%;
    max-width: 100%;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Title */
.generator-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 0 0 2.5rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Type Selection Buttons */
.generator-type-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn,
.prompt-gen-type-btn {
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.type-btn:hover,
.prompt-gen-type-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.type-btn.active,
.prompt-gen-type-btn.active {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Category Filters */
.generator-category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.category-btn,
.prompt-gen-category-btn {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
}

.category-btn:not(:disabled),
.prompt-gen-category-btn:not(:disabled) {
    cursor: pointer;
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(28, 28, 30, 0.7);
}

.category-btn:not(:disabled):hover,
.prompt-gen-category-btn:not(:disabled):hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Active state - very visible! */
.category-btn.active,
.prompt-gen-category-btn.active {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #1c1c1e !important;
    font-weight: 800 !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

/* Prompt Output Container */
.prompt-output-container {
    width: 100%;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Active state when prompt is generated - illuminate entire box */
.prompt-output-container.has-prompt {
    background: rgba(44, 44, 46, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 255, 255, 0.15),
                inset 0 0 30px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
}

.prompt-output {
    width: 100%;
    text-align: center;
}

.prompt-placeholder,
.prompt-gen-placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
}

.prompt-result,
.prompt-gen-result {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.prompt-gen-placeholder {
    display: block;
}

.prompt-gen-result {
    display: none;
}

.prompt-gen-result:not(:empty) {
    display: block;
}

.prompt-gen-placeholder:has(+ .prompt-gen-result:not(:empty)) {
    display: none;
}

/* Custom Prompt Container */
.custom-prompt-container {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.custom-prompt-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-prompt-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.custom-prompt-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.custom-prompt-input:focus {
    outline: none;
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Generate Button Container */
.generate-button-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Output Mode Toggle (Quick / Pro) */
.generator-output-mode {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.generator-output-mode .mode-btn,
.generator-output-mode .prompt-gen-mode-btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(28, 28, 30, 0.55);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.generator-output-mode .mode-btn:hover,
.generator-output-mode .prompt-gen-mode-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.generator-output-mode .mode-btn.active,
.generator-output-mode .prompt-gen-mode-btn.active {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.45);
    color: #111;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.22), 0 6px 18px rgba(0, 0, 0, 0.25);
}

.generator-output-mode .mode-btn:focus-visible,
.generator-output-mode .prompt-gen-mode-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.generate-btn,
.prompt-gen-generate-btn {
    width: 100%;
    max-width: 500px;
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.generate-btn:hover,
.prompt-gen-generate-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.generate-btn:active,
.prompt-gen-generate-btn:active {
    transform: translateY(0);
}

/* Copy Button */
.prompt-copy-btn,
.prompt-gen-copy-btn {
    display: none;
    margin-top: 1rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    align-items: center;
    gap: 0.5rem;
}

.prompt-copy-btn:hover,
.prompt-gen-copy-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.prompt-copy-btn .copy-icon {
    font-size: 1.1rem;
}

.prompt-copy-btn .copy-text {
    font-size: 0.9rem;
}

/* Prompt Output Container - Updated */
.prompt-output-container {
    width: 100%;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Hero Section */
.pg-hero-section {
    width: 100%;
    margin: 0 0 var(--section-gap) 0;
    text-align: center;
}

.pg-hero-content {
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.pg-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.pg-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.pg-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* History Section */
.pg-history-section {
    width: 100%;
    margin: var(--section-gap) 0;
}

.pg-history-box {
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.pg-history-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.pg-history-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 1;
}

.pg-history-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.2);
}

.pg-history-container::-webkit-scrollbar {
    width: 8px;
}

.pg-history-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.pg-history-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.pg-history-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.pg-history-scroll {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pg-history-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    padding: 2rem;
    margin: 0;
}

.pg-history-item {
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.pg-history-item:hover {
    background: rgba(44, 44, 46, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.pg-history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.pg-history-timestamp {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.pg-history-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.pg-history-item-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
}

/* Brands Section */
.pg-brands-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
}

.pg-brands-container {
    width: 100%;
}

/* Brands Box (glassmorphism) */
.pg-brands-box {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Box Header */
.pg-brands-box-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.pg-brands-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* View All Button - Unified style with homepage */
.pg-brands-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.pg-brands-view-all-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.pg-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pg-brand-card {
    position: relative;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
    padding: 2rem;
    padding-top: 2.5rem;
    margin-top: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pg-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pg-brand-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        var(--brand-accent-color, #ffffff) 50%, 
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-align: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.pg-brand-card-image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pg-brand-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 24px;
}

/* Brand Badge */
.pg-brand-badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pg-brand-badge-popular {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.pg-brand-badge-new {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: #fff;
}

.pg-brand-badge-top-rated {
    background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
    color: #fff;
}

.pg-brand-badge-editor-choice {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: #fff;
}

.pg-brand-badge-free {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    color: #fff;
}

.pg-brand-badge-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000;
}

.pg-brand-card-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.pg-brand-card-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid color-mix(in srgb, var(--brand-accent-color, #ffffff) 30%, transparent);
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    background: var(--brand-accent-color, rgba(28, 28, 30, 0.6));
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 20px color-mix(in srgb, var(--brand-accent-color, transparent) 30%, transparent);
}

.pg-brand-card-button:hover {
    background: color-mix(in srgb, var(--brand-accent-color, #ffffff) 110%, #000);
    border-color: color-mix(in srgb, var(--brand-accent-color, #ffffff) 50%, transparent);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 30px color-mix(in srgb, var(--brand-accent-color, transparent) 50%, transparent);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .pg-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pg-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .prompt-generator-wrapper {
        margin-bottom: var(--section-gap-mobile);
    }
    
    .prompt-generator-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .generator-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    /* Type buttons - mobile grid layout (same as categories) */
    .generator-type-selector {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        margin-bottom: 1.75rem;
    }
    
    .type-btn,
    .prompt-gen-type-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
        letter-spacing: 0.8px;
        border-radius: 10px;
        min-width: 0;
    }
    
    /* Category buttons - mobile grid layout */
    .generator-category-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        margin-bottom: 1.75rem;
    }
    
    .category-btn,
    .prompt-gen-category-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.8rem;
        letter-spacing: 0.8px;
        border-radius: 10px;
        min-width: 0;
        white-space: nowrap;
    }
    
    /* LESBIAN - full width on mobile for better layout */
    .category-btn:last-child,
    .prompt-gen-category-btn:last-child {
        grid-column: 1 / -1;
    }
    
    .pg-hero-section {
        margin-bottom: var(--section-gap-mobile);
    }
    
    .pg-hero-content {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .pg-hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .pg-hero-description {
        font-size: 1rem;
    }
    
    .pg-history-section {
        margin: var(--section-gap-mobile) 0;
    }
    
    .pg-history-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .pg-history-title {
        font-size: 1.25rem;
    }
    
    .pg-history-container {
        max-height: 400px;
        padding: 1rem;
    }
    
    .pg-brands-section {
        margin-top: var(--section-gap-mobile);
    }
    
    .pg-brands-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .pg-brands-box-header {
        gap: 0.75rem;
        margin-bottom: var(--section-gap-mobile);
    }
    
    .pg-brands-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .pg-brands-view-all-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .pg-brands-grid {
        grid-template-columns: 1fr;
        gap: var(--section-gap-mobile);
    }
    
    .pg-brand-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .pg-brand-card-image-container {
        height: 350px;
    }
    
    .pg-brand-badge {
        top: -0.5rem;
        right: 0.75rem;
        padding: 0.4rem 0.75rem;
        font-size: 0.65rem;
        border-radius: 6px;
    }
    
    .pg-brand-card-title {
        font-size: 1.25rem;
    }
    
    .pg-brand-card-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* ==========================================
   TOAST NOTIFICATION
   Notifiche temporanee per feedback utente
   ========================================== */

.madeprompt-toast {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translate(-50%, -100px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.madeprompt-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.madeprompt-toast-success {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.madeprompt-toast-error {
    border-left: 4px solid #E94B3C;
}

.madeprompt-toast-info {
    border-left: 4px solid #4A90E2;
}

/* ==========================================
   PROMPT RESULT HIGHLIGHT EFFECT
   Animazione quando il prompt viene generato
   ========================================== */

.prompt-generated-highlight {
    animation: promptHighlight 2.5s ease-out;
}

@keyframes promptHighlight {
    0% {
        filter: brightness(1.3);
        transform: scale(1.02);
    }
    50% {
        filter: brightness(1.15);
    }
    100% {
        filter: brightness(1);
        transform: scale(1);
    }
}

/* Mobile Toast */
@media (max-width: 768px) {
    .madeprompt-toast {
        top: 20px;
        left: 50%;
        right: auto;
        transform: translate(-50%, -100px);
        width: auto;
        max-width: calc(100% - 2rem);
        text-align: center;
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
        white-space: nowrap;
    }
    
    .madeprompt-toast.show {
        transform: translate(-50%, 0);
    }
}

/* ==========================================
   PROMPT SUGGESTIONS
   Suggerimenti tool dopo generazione prompt
   Elegante, migliorato con colori brand
   ========================================== */

.prompt-suggestions {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Icona sparkles */
.prompt-suggestions-icon {
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Toggle button - elegante glass effect */
.prompt-suggestions-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: space-between;
    box-shadow: none;
}

.prompt-suggestions-toggle:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(0);
}

.prompt-suggestions-toggle-text {
    flex: 1;
    text-align: left;
}

.prompt-suggestions-toggle-icon {
    font-size: 0.65rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
}

.prompt-suggestions.expanded .prompt-suggestions-toggle-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Content container - nascosto di default */
.prompt-suggestions-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0;
    margin: 0;
    opacity: 0;
}

.prompt-suggestions.expanded .prompt-suggestions-content {
    max-height: 500px;
    padding: 0 1rem 1rem 1rem;
    margin-top: 0;
    opacity: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
    padding-top: 0.5rem;
}

.prompt-suggestions.expanded {
    border-radius: 12px;
}

.prompt-suggestions.expanded .prompt-suggestions-toggle {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-bottom: 0;
    box-shadow: none;
}

.prompt-suggestions-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.prompt-suggestions-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.prompt-suggestion-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--brand-color, #ffffff);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prompt-suggestion-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-color, rgba(255, 255, 255, 0.1)) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.prompt-suggestion-tool:hover {
    background: rgba(28, 28, 30, 0.8);
    border-color: var(--brand-color, rgba(255, 255, 255, 0.25));
    border-left-width: 4px;
    transform: translateX(3px) translateY(-1px);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px var(--brand-color, rgba(255, 255, 255, 0.1));
}

.prompt-suggestion-tool:hover::before {
    opacity: 0.15;
}

.prompt-suggestion-tool-name {
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.prompt-suggestion-tool-arrow {
    color: var(--brand-color, rgba(255, 255, 255, 0.7));
    font-weight: 600;
    font-size: 0.875rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    position: relative;
    z-index: 1;
}

.prompt-suggestion-tool:hover .prompt-suggestion-tool-arrow {
    transform: translateX(4px);
    color: var(--brand-color, #ffffff);
    filter: drop-shadow(0 0 4px var(--brand-color, rgba(255, 255, 255, 0.5)));
}

@media (max-width: 768px) {
    .prompt-suggestions {
        margin-top: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .prompt-suggestions-toggle {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        gap: 0.625rem;
    }
    
    .prompt-suggestions-icon {
        font-size: 0.875rem;
    }
    
    .prompt-suggestions.expanded .prompt-suggestions-content {
        padding: 0 0.875rem 0.875rem 0.875rem;
        margin-top: 0;
    }
    
    .prompt-suggestions-title {
        font-size: 0.8125rem;
        margin-bottom: 0.875rem;
        gap: 0.4rem;
    }
    
    .prompt-suggestions-tools {
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .prompt-suggestion-tool {
        width: 100%;
        justify-content: space-between;
        font-size: 0.75rem;
        padding: 0.5625rem 0.875rem;
    }
    
    .prompt-suggestion-tool:hover {
        transform: translateX(2px) translateY(-1px);
    }
}

/* ==========================================
   PROMPT GENERATOR PAGE - ABOUT SECTION
   Same structure as homepage about section
   ========================================== */

.pg-about-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pg-about-box {
    width: 100%;
    max-width: 100%;
    padding: var(--box-padding-desktop);
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pg-about-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Content - Collapsible */
.pg-about-content {
    margin: 0;
    position: relative;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.pg-about-content.expanded {
    max-height: 5000px;
}

.pg-about-content-inner {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.pg-about-content p {
    margin-bottom: 1rem;
}

.pg-about-content h2,
.pg-about-content h3 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pg-about-content ul,
.pg-about-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.pg-about-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.pg-about-content strong {
    color: #ffffff;
    font-weight: 700;
}

.pg-about-content a {
    color: #4A90E2;
    text-decoration: underline;
}

.pg-about-content a:hover {
    color: #50E3C2;
}

/* Toggle Button */
.pg-about-toggle-container {
    text-align: center;
    margin-top: 1.5rem;
}

.pg-about-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg-about-toggle-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.pg-toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .pg-about-section {
        margin: var(--section-gap-mobile) 0 0 0;
    }
    
    .pg-about-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .pg-about-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.25rem;
    }
    
    .pg-about-content {
        max-height: 250px;
    }
    
    .pg-about-content-inner {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .pg-about-toggle-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ==========================================
   PROMPT GENERATOR PAGE - RELATED ARTICLES SECTION
   Articles related to prompt writing and generation
   ========================================== */

.pg-related-articles-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pg-related-articles-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.pg-related-articles-box {
    width: 100%;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.pg-related-articles-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.pg-related-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.pg-related-articles-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.pg-related-articles-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pg-related-articles-view-all-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateX(2px);
}

.pg-related-article-single {
    width: 100%;
}

.pg-related-article-card {
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pg-related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* NEW Badge - Article Style (same elegant glassmorphism style as homepage) */
.pg-related-article-card .article-new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.85rem;
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.pg-related-article-card .article-new-badge::before {
    content: 'NEW';
    display: block;
}

.pg-related-article-card .article-new-badge::after {
    content: '';
    display: none;
}

.pg-related-article-card:hover .article-new-badge {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.pg-related-article-card:hover .article-new-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5),
                0 3px 8px rgba(0, 0, 0, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.35);
    transform: scale(1.05) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.pg-related-article-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.pg-related-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pg-related-article-card:hover .pg-related-article-image {
    transform: scale(1.05);
}

.pg-related-article-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Article Meta Bar */
.pg-related-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.pg-related-article-reading-time,
.pg-related-article-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-icon {
    width: 13px;
    height: 13px;
    opacity: 0.7;
}

.pg-related-article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.pg-related-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pg-related-article-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pg-related-article-excerpt {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pg-related-article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.75rem 0;
}

.pg-related-article-read-more:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.read-more-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.pg-related-article-read-more:hover .read-more-arrow {
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 768px) {
    .pg-related-articles-section {
        margin: var(--section-gap-mobile) 0 0 0;
    }
    
    .pg-related-articles-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .pg-related-articles-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    
    .pg-related-articles-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }
    
    .pg-related-articles-view-all-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pg-related-article-image-container {
        height: 200px;
    }
    
    .pg-related-article-content {
        padding: 1.25rem;
    }
    
    .pg-related-article-meta {
        font-size: 0.7rem;
        gap: 0.75rem;
        margin-bottom: 0.875rem;
    }
    
    .pg-related-article-title {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .pg-related-article-excerpt {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .pg-related-article-read-more {
        font-size: 0.8125rem;
    }
}
