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

html, body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --bg-primary: #0f1014;
    --bg-secondary: #1a1d23;
    --bg-card: #22262e;
    --text-primary: #ece8e1;
    --text-secondary: #8b8b8b;
    --accent: #ff4655;
    --accent-secondary: #bd3944;
    --gradient: linear-gradient(135deg, #ff4655 0%, #bd3944 100%);
    --border: #2f3340;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(255, 70, 85, 0.25);
}

/* Scheme 1: Valorant Red/Black */
[data-scheme="1"] {
    --bg-primary: #0f1014;
    --bg-secondary: #1a1d23;
    --bg-card: #22262e;
    --text-primary: #ece8e1;
    --text-secondary: #8b8b8b;
    --accent: #ff4655;
    --accent-secondary: #bd3944;
    --gradient: linear-gradient(135deg, #ff4655 0%, #bd3944 100%);
    --border: #2f3340;
    --shadow-hover: 0 8px 30px rgba(255, 70, 85, 0.25);
}

/* Scheme 2: Cyber Teal/Purple */
[data-scheme="2"] {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --text-primary: #eaf0f6;
    --text-secondary: #8892a0;
    --accent: #00d4ff;
    --accent-secondary: #a855f7;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    --border: #2a2a45;
    --shadow-hover: 0 8px 30px rgba(0, 212, 255, 0.25);
}

/* Scheme 3: Clean Dark Blue */
[data-scheme="3"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --accent-secondary: #1f6feb;
    --gradient: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    --border: #30363d;
    --shadow-hover: 0 8px 30px rgba(88, 166, 255, 0.25);
}

/* Scheme 4: Neon Green/Dark */
[data-scheme="4"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #e0ffe0;
    --text-secondary: #7a9f7a;
    --accent: #00ff88;
    --accent-secondary: #00cc6a;
    --gradient: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --border: #2a3a2a;
    --shadow-hover: 0 8px 30px rgba(0, 255, 136, 0.25);
}

/* Scheme 5: Warm Orange/Dark */
[data-scheme="5"] {
    --bg-primary: #0f0d0a;
    --bg-secondary: #1a1714;
    --bg-card: #252018;
    --text-primary: #fff5e6;
    --text-secondary: #a89880;
    --accent: #ff8c00;
    --accent-secondary: #e67300;
    --gradient: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    --border: #3d3528;
    --shadow-hover: 0 8px 30px rgba(255, 140, 0, 0.25);
}

[data-theme="light"] {
    --bg-primary: #f5f6f8;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1d23;
    --text-secondary: #1a1d23;
    --border: #e2e5ea;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --header-bg: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .drama-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .drama-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .card-image {
    background: #f0f2f5;
}

[data-theme="light"] .image-placeholder {
    opacity: 0.4;
}

[data-theme="dark"] {
    --header-bg: rgba(26, 29, 35, 0.8);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Floating Glass Style */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1400px;
    z-index: 100;
    background: var(--header-bg, rgba(26, 29, 35, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2rem;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px var(--accent)); }
    to { filter: drop-shadow(0 0 20px var(--accent)); }
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 6px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    background: var(--gradient);
    color: white;
}

.nav-link.active::before {
    display: none;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

/* Hero Section - Compact & Bold */
.hero {
    padding: 140px 20px 50px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.06;
    pointer-events: none;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    max-width: 420px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 70, 85, 0.15);
}

.search-box input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: transparent;
    border: none;
    padding: 16px 22px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.search-btn:hover {
    color: var(--accent);
}

/* Drama Feed */
.drama-feed {
    padding: 20px 0 80px;
}

.feed-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.feed-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sort-options {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.sort-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    color: var(--text-primary);
}

.sort-btn.active {
    background: var(--gradient);
    color: white;
}

/* Stacked List Layout */
.drama-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Drama Card Styles */
.drama-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
}

.drama-card.has-image {
    background-color: #000;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.drama-card:not(.has-image) .card-overlay {
    display: none;
}

.drama-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: none;
}

.card-category {
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-time {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 3;
}

.drama-card.has-image .card-time {
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.card-content {
    display: flex;
    flex: 1;
    position: relative;
    z-index: 2;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-body {
    padding: 20px;
    padding-bottom: 25px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.drama-card.has-image .card-title,
.drama-card.has-image .card-preview {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.drama-card.has-image .card-preview {
    color: rgba(255,255,255,0.85);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.card-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.load-more {
    display: block;
    margin: 50px auto 0;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 14px 40px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    padding: 36px;
}

.modal-category {
    background: var(--gradient);
    color: white;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 18px;
}

.modal-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.modal-meta {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.modal-content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.modal-content-text p {
    margin-bottom: 16px;
}

.modal-content-text img {
    width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.modal-people {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-people h4 {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.modal-people-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-person-tag {
    background: var(--bg-card);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--accent);
    border: 1px solid var(--border);
    font-weight: 600;
}

.modal-reactions {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reaction-btn {
    background: var(--bg-card);
    border: 2px solid var(--border);
    padding: 11px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.reaction-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.reaction-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1100px) {
    .drama-grid {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 4px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .hero {
        padding: 120px 16px 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .drama-grid {
        gap: 12px;
    }

    .drama-card {
        background-position: left center;
    }

    .feed-header {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 28px 20px;
    }
}

/* Animations */
.drama-card {
    animation: cardSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

@keyframes cardSlide {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.drama-card:nth-child(1) { animation-delay: 0.05s; }
.drama-card:nth-child(2) { animation-delay: 0.1s; }
.drama-card:nth-child(3) { animation-delay: 0.15s; }
.drama-card:nth-child(4) { animation-delay: 0.2s; }
.drama-card:nth-child(5) { animation-delay: 0.25s; }
.drama-card:nth-child(6) { animation-delay: 0.3s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Color Scheme Switcher */
.color-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: gap 0.3s ease;
}

.color-switcher:hover {
    gap: 6px;
}

.color-switcher.expanded {
    gap: 6px;
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: -34px;
    position: relative;
}

.color-btn:first-child {
    margin-left: 0;
}

.color-switcher:hover .color-btn {
    margin-left: 0;
}

.color-switcher.expanded .color-btn {
    margin-left: 0;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    z-index: 10;
}

/* Individual button colors */
.color-btn[data-scheme="1"] {
    background: linear-gradient(135deg, #ff4655 0%, #bd3944 100%);
}

.color-btn[data-scheme="2"] {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
}

.color-btn[data-scheme="3"] {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

.color-btn[data-scheme="4"] {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
}

.color-btn[data-scheme="5"] {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
}

/* Add Post Button */
.add-post-btn {
    position: fixed;
    bottom: 80px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-post-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(255, 70, 85, 0.4);
}

/* Add Post Modal */
.add-post-modal {
    max-width: 600px;
}

.add-post-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 70, 85, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.image-upload-area:hover {
    border-color: var(--accent);
    background: rgba(255, 70, 85, 0.05);
}

.image-upload-area.dragging {
    border-color: var(--accent);
    background: rgba(255, 70, 85, 0.1);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.upload-placeholder span {
    font-size: 2rem;
}

.upload-placeholder p {
    font-size: 0.85rem;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.submit-post-btn {
    padding: 16px 32px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-post-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 70, 85, 0.4);
}

/* Card with image */
.card-content {
    display: flex;
    padding: 20px;
    gap: 16px;
    flex: 1;
}

.card-content .card-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.card-content .card-time {
    margin-top: auto;
    padding-top: 12px;
}

.card-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    font-size: 2rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .add-post-btn {
        bottom: 75px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

/* Code Output Modal */
.code-modal {
    max-width: 650px;
}

.code-output {
    width: 100%;
    min-height: 280px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-primary);
    color: var(--accent);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
}

.code-output:focus {
    border-color: var(--accent);
}

.copy-code-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.copy-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 70, 85, 0.4);
}
