/* ═══════════════════════════════════════════════════════
   Individual Addon Page - Modern Professional Edition
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

/* Hero Banner */
.addon-page-hero {
    text-align: center;
    padding: 120px 40px 100px;
    margin-bottom: 80px;
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.addon-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.addon-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.addon-icon:hover {
    transform: scale(1.05);
}

.addon-page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.addon-page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.7;
}

.addon-page-hero .btn {
    margin: 0 8px;
}

/* Content Sections */
.content-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 28px;
    background: var(--gold-primary);
    margin-right: 16px;
    vertical-align: middle;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.feature-item {
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.feature-item h3 {
    color: var(--gold-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Changelog */
.changelog-list {
    list-style: none;
    padding: 0;
}

.changelog-version {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.changelog-version:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.25);
}

.changelog-version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.changelog-version-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.changelog-version-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

.changelog-items {
    list-style: none;
    padding: 0;
}

.changelog-items li {
    padding: 12px 0 12px 36px;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
}

.changelog-items li::before {
    content: "•";
    position: absolute;
    left: 16px;
    color: var(--gold-primary);
    font-size: 1.5rem;
    line-height: 1.2;
}

.changelog-items li.added::before {
    content: "+";
    color: #4ade80;
    font-weight: 600;
}

.changelog-items li.fixed::before {
    content: "✓";
    color: #60a5fa;
}

.changelog-items li.improved::before {
    content: "→";
    color: var(--gold-primary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal:target {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

/* Installation Steps */
.content-section ol {
    color: var(--text-secondary);
    line-height: 2;
    padding-left: 24px;
    font-size: 0.95rem;
    font-weight: 300;
}

.content-section ol li {
    margin-bottom: 12px;
}

.content-section code {
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--gold-light);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.content-section a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.content-section a:hover {
    border-bottom-color: var(--gold-primary);
}

/* Feedback Forms */
.feedback-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
}

.feedback-form-container {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feedback-form-container h3 {
    color: var(--gold-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.success-message,
.error-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.success-message {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.error-message {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

/* Responsive */
@media (max-width: 768px) {
    .addon-page-hero {
        padding: 80px 24px 60px;
    }

    .addon-page-hero h1 {
        font-size: 2.5rem;
    }

    .addon-icon {
        width: 90px;
        height: 90px;
    }

    .content-section {
        padding: 32px 24px;
    }

    .features-grid,
    .gallery-grid,
    .feedback-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
