/* CS2 Sticker Hunter - Custom Styles */
/* CS2 Dark Theme Color Palette */

:root {
    --bg-primary: #1e1e1e;
    --bg-secondary: #2a2a2a;
    --bg-hover: #363636;
    --text-primary: #b0c3d9;
    --text-secondary: #8a9bb0;
    --accent-ct: #5d79ae;        /* CT Blue */
    --accent-t: #de9b35;         /* T Yellow */
    --accent-ct-hover: #6e8dc4;
    --accent-t-hover: #f0ad4a;
    --border-color: #3a3a3a;
}

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

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

/* Loading Spinner */
.spinner {
    border: 4px solid var(--bg-secondary);
    border-top: 4px solid var(--accent-ct);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 30, 30, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-overlay.hidden {
    display: none;
}

#loading-overlay p {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-ct);
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Sticker Search */
#sticker-search {
    position: relative;
}

#sticker-search label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

#sticker-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#sticker-input:focus {
    outline: none;
    border-color: var(--accent-ct);
    box-shadow: 0 0 0 3px rgba(93, 121, 174, 0.1);
}

#sticker-input::placeholder {
    color: var(--text-secondary);
}

/* Autocomplete */
#autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

#autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: var(--bg-hover);
}

.autocomplete-item.highlight {
    background-color: var(--bg-hover);
}

/* Weapon Grid */
.category-section {
    margin-bottom: 2rem;
}

.category-section h3 {
    font-size: 1.2rem;
    color: var(--accent-t);
    margin-bottom: 1rem;
    font-weight: 600;
}

#weapon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.weapon-btn {
    padding: 0.875rem 1rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.weapon-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--accent-ct);
    transform: translateY(-2px);
}

.weapon-btn.selected {
    background-color: rgba(93, 121, 174, 0.15);
    border-color: var(--accent-ct);
    box-shadow: 0 0 12px rgba(93, 121, 174, 0.3);
}

/* Search Button */
#search-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-t) 0%, var(--accent-t-hover) 100%);
    border: none;
    border-radius: 8px;
    color: #1e1e1e;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(222, 155, 53, 0.3);
}

#search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(222, 155, 53, 0.4);
}

#search-btn:active {
    transform: translateY(-1px);
}

#search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

footer p {
    margin-bottom: 1rem;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-btn {
    padding: 0.625rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent-ct);
    border-radius: 6px;
    color: var(--accent-ct);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background-color: var(--accent-ct);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.footer-credit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    #weapon-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .weapon-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    #search-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    #weapon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-ct);
    border-radius: 5px;
}

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

/* =============================================== */
/* STICKER SEARCH BAR STYLES */
/* =============================================== */

#search-bar-container {
    margin-bottom: 2rem;
    position: relative;
}

#search-bar-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

#sticker-search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#sticker-search-input:focus {
    outline: none;
    border-color: var(--accent-ct);
    box-shadow: 0 0 0 3px rgba(93, 121, 174, 0.1);
}

#sticker-search-input::placeholder {
    color: var(--text-secondary);
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent-ct);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: -6px;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background-color: var(--bg-hover);
}

.autocomplete-item-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.autocomplete-item-text {
    flex: 1;
    color: var(--text-primary);
}

.autocomplete-item-type {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
}

/* Search Results Container */
#search-results-container {
    margin-bottom: 2rem;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.search-results-header label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.clear-search-btn {
    padding: 0.5rem 1rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    border-color: var(--accent-t);
    background-color: var(--bg-hover);
    transform: translateY(-2px);
}

/* Collection badge for search results */
.collection-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background-color: var(--accent-ct);
    color: white;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* =============================================== */
/* NEW STYLES FOR COLLECTION-BASED STICKER SELECTION */
/* =============================================== */

/* Collection Pills/Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.collection-pill {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.collection-pill:hover {
    border-color: var(--accent-ct);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(93, 121, 174, 0.3);
}

.collection-pill.active {
    border-color: var(--accent-ct);
    background-color: rgba(93, 121, 174, 0.15);
}

.collection-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.collection-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Sticker Selector Header */
.sticker-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sticker-selector-header label {
    font-weight: 600;
    color: var(--text-primary);
}

#current-collection-name {
    color: var(--accent-t);
    font-weight: 700;
}

/* Sticker Grid with Images */
.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.sticker-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.sticker-card:hover {
    border-color: var(--accent-ct);
    transform: scale(1.05);
}

.sticker-card.selected {
    border-color: var(--accent-ct);
    background-color: rgba(93, 121, 174, 0.15);
    box-shadow: 0 0 12px rgba(93, 121, 174, 0.4);
}

.sticker-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.sticker-preview {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    display: block;
}

.sticker-name {
    font-size: 0.75rem;
    color: var(--text-primary);
    word-wrap: break-word;
    min-height: 2.5rem;
}

/* Badges for Holo/Foil/Gold */
.badge-holo, .badge-foil, .badge-gold {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.badge-holo {
    background-color: #6b46c1;
    color: white;
}

.badge-foil {
    background-color: #d97706;
    color: white;
}

.badge-gold {
    background-color: #eab308;
    color: black;
}

/* Badges for Player/Team */
.badge-player {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background-color: #10b981;
    color: white;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.badge-team {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background-color: #3b82f6;
    color: white;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Selected Stickers Chips */
#selected-stickers-display {
    margin-top: 2rem;
}

#selected-stickers-display > label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    min-height: 60px;
}

.empty-state {
    color: var(--text-secondary);
    font-style: italic;
    width: 100%;
    text-align: center;
}

.sticker-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-ct);
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.chip-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.chip-name {
    color: var(--text-primary);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip-remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 1;
    transition: color 0.2s;
}

.chip-remove:hover {
    color: #ef4444;
}

/* Select All Button */
.select-all-btn {
    padding: 0.5rem 1rem;
    background-color: var(--accent-t);
    border: none;
    border-radius: 6px;
    color: #1e1e1e;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-all-btn:hover {
    background-color: var(--accent-t-hover);
    transform: translateY(-2px);
}

/* Hidden class for conditional display */
.hidden {
    display: none;
}

/* Updated Responsive Design for New Components */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .sticker-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .sticker-selector-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .select-all-btn {
        width: 100%;
    }
}

/* ============================================ */
/* EASTER EGG STYLES - ScreaM KQLY Reaction */
/* ============================================ */

#easter-egg-container {
    text-align: center;
    margin: 2rem auto;
    padding: 1rem;
}

.easter-egg-btn {
    background: linear-gradient(135deg, var(--accent-t), #ff6b35);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(222, 155, 53, 0.4);
}

.easter-egg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 155, 53, 0.6);
}

.easter-egg-btn:active {
    transform: scale(0.98);
}

.easter-egg-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.subtitle-display {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-ct);
    border-radius: 8px;
    min-height: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: subtitleFadeIn 0.3s ease;
}

/* Fix: Ensure hidden state works correctly for subtitle display */
.subtitle-display.hidden {
    display: none !important;
}

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

/* Jump Scare Overlay */
.screamy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: screamyAppear 0.1s ease;
}

/* Fix: Ensure hidden state works correctly for screamy overlay */
.screamy-overlay.hidden {
    display: none !important;
}

@keyframes screamyAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.screamy-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    animation: screamyShake 0.1s infinite;
}

@keyframes screamyShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, 5px) rotate(-2deg); }
    50% { transform: translate(5px, -5px) rotate(2deg); }
    75% { transform: translate(-5px, -5px) rotate(-1deg); }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 10000;
    border-top: 3px solid #ff6b35;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-accept {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
}

.btn-accept:hover {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa500 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-content p {
        text-align: center;
        font-size: 0.85rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
        padding: 0.875rem;
    }
}

/* ============================================
   SEO CONTENT SECTIONS STYLES
   ============================================ */

/* Content Section Container */
.content-section {
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--accent-ct);
    margin-bottom: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    padding: 1rem 3rem 1rem 0;
    transition: color 0.3s ease;
}

.content-section h2:hover {
    color: var(--accent-ct-hover);
}

/* Chevron indicator for collapsible sections */
.content-section:not(.always-expanded) h2::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.content-section.expanded h2::after {
    transform: rotate(180deg);
}

/* Collapsible content wrapper */
.collapsible-content {
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.content-section.expanded .collapsible-content {
    max-height: 10000px;
    opacity: 1;
    padding-top: 1rem;  /* Prevents clipping of overflowing elements */
}

/* Always-expanded sections */
.content-section.always-expanded .collapsible-content {
    max-height: none;
    opacity: 1;
}

/* Section intro text */
.section-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==================== HOW TO USE SECTION ==================== */

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-card {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: var(--accent-ct);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(93, 121, 174, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-ct), var(--accent-ct-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(93, 121, 174, 0.4);
}

.step-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 1rem 0 0.75rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.example-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent-t);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--accent-t);
    font-family: monospace;
    margin-top: 0.5rem;
}

.pro-tip {
    display: block;
    padding: 0.625rem 0.875rem;
    background: linear-gradient(135deg, rgba(222, 155, 53, 0.15), rgba(240, 173, 74, 0.1));
    border-left: 3px solid var(--accent-t);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--accent-t-hover);
    margin-top: 0.75rem;
    font-weight: 500;
}

.use-cases {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.use-cases h3 {
    font-size: 1.3rem;
    color: var(--accent-t);
    margin-bottom: 1rem;
    font-weight: 600;
}

.use-cases ul {
    list-style: none;
    padding: 0;
}

.use-cases li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.use-cases li:last-child {
    border-bottom: none;
}

.use-cases strong {
    color: var(--accent-ct);
    font-weight: 600;
}

/* ==================== POPULAR SEARCHES SECTION ==================== */

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-category {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    transition: border-color 0.3s ease;
}

.search-category:hover {
    border-color: var(--accent-ct);
}

.search-category h3 {
    font-size: 1.1rem;
    color: var(--accent-t);
    margin-bottom: 1rem;
    font-weight: 600;
}

.clickable-searches {
    list-style: none;
    padding: 0;
}

.clickable-searches li {
    margin-bottom: 0.5rem;
}

.clickable-searches a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.clickable-searches a:hover {
    background-color: var(--bg-hover);
    color: var(--accent-ct);
    transform: translateX(4px);
}

.search-tip {
    background: linear-gradient(135deg, rgba(93, 121, 174, 0.15), rgba(110, 141, 196, 0.1));
    border: 2px solid var(--accent-ct);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.search-tip strong {
    color: var(--accent-ct);
}

/* ==================== WHY I DID THAT SECTION ==================== */

.story-content {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.problem-section,
.solution-section,
.community-section,
.tech-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-section {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.story-content h3 {
    font-size: 1.3rem;
    color: var(--accent-t);
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.story-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.story-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1.6;
}

.story-content li::before {
    content: '•';
    color: var(--accent-ct);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.pain-point {
    background: linear-gradient(135deg, rgba(222, 155, 53, 0.15), rgba(240, 173, 74, 0.1));
    border-left: 3px solid var(--accent-t);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-primary);
    border-radius: 4px;
}

.signature {
    font-style: italic;
    color: var(--accent-ct);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.story-content code {
    background-color: var(--bg-primary);
    color: var(--accent-t);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

/* ==================== FAQ SECTION ==================== */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-ct);
    box-shadow: 0 4px 16px rgba(93, 121, 174, 0.15);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--accent-ct);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Mobile: Responsive layout adjustments */
@media (max-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 0 0.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   SITE LOGO AND TAGLINE
   ========================================== */

.site-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
}

.happy-hunting {
    font-size: 1.1rem;
    color: var(--accent-ct);
    margin-top: 0.5rem;
    font-style: italic;
}
