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

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f5f5;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --accent: #00b894;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner */
.banner {
    width: 100%;
    background-color: var(--dark-bg);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    overflow: hidden;
}

.banner-img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button:hover {
    background-color: #00a080;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.gallery-item {
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: bold;
}

.gallery-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-collection {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.gallery-platform {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gallery-link {
    display: inline-block;
    margin-top: auto;
    margin-right: 8px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.gallery-link:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.gallery-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.pattern-hint {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: help;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pattern-hint:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Stores Section */
.stores-section {
    padding: 80px 20px;
    background-color: var(--text-light);
}

.stores-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.store-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
}

.store-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.store-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.store-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.visit-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.store-card:hover .visit-btn {
    background-color: var(--accent);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background-color: var(--text-light);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.contact-info {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-value {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.info-value:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.social-link.facebook:hover {
    border-color: #1877f2;
}

.social-link.instagram:hover {
    border-color: #e1306c;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.twitter:hover {
    border-color: #1da1f2;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: 90vw;
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    font-family: inherit;
    z-index: 9999;
    animation: slideInUp 0.3s ease;
}

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

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chatbot-minimize {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-minimize:hover {
    transform: scale(1.2);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 300px;
    background-color: #f9f9f9;
}

.chatbot-message {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chatbot-message.bot {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--text-dark);
    text-align: left;
}

.chatbot-message.user {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: right;
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #eee;
    background-color: var(--text-light);
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-family: inherit;
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.1);
}

.chatbot-input-area button {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chatbot-input-area button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-img {
        max-height: 80px;
    }

    .logo-img {
        height: 40px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .gallery-section h2,
    .stores-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .gallery-grid,
    .stores-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .stat-item h4 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== COMMUNITY CANVAS SECTION ===== */
.community-canvas-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8f5 100%);
    padding: 80px 20px;
    margin: 60px 0;
}

.community-canvas-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.community-canvas-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.canvas-container {
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.2);
    overflow: hidden;
}

.community-canvas {
    width: 100%;
    height: auto;
    display: block;
    cursor: crosshair;
    border-radius: 10px;
}

.contribution-message {
    display: none;
    background: var(--accent);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

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

/* Community Collaboration Features */
.canvas-collaboration {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.canvas-collaboration h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.collab-btn {
    display: inline-block;
    margin: 8px 8px 8px 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.collab-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.collab-stats {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
}

.collab-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.collab-stats span span {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
}

.canvas-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tool-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-group h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.tool-btn {
    padding: 10px 15px;
    background: var(--light-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tool-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tool-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.size-slider {
    width: 100%;
    cursor: pointer;
}

#brushSizeLabel {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.color-picker {
    width: 100%;
    height: 50px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
}

.shape-select {
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    background: white;
}

.canvas-action-btn {
    padding: 12px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.canvas-action-btn:hover {
    background: #00a878;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.canvas-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.canvas-info h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.canvas-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.canvas-info li {
    padding: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-bg);
}

.canvas-info li:last-child {
    border-bottom: none;
}

/* ===== PATTERN GENERATOR SECTION ===== */
.pattern-generator-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #f0e8f5 100%);
    padding: 80px 20px;
    margin: 60px 0;
}

.pattern-generator-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.pattern-generator-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pattern-generator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.15);
}

.pattern-input-area,
.pattern-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pattern-input-area h3,
.pattern-controls h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
}

.input-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.upload-area {
    position: relative;
    border: 3px dashed var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: rgba(108, 92, 231, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--secondary-color);
}

.file-input {
    display: none;
}

.upload-label {
    cursor: pointer;
    display: block;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-label p {
    margin: 10px 0;
    color: var(--text-dark);
}

.upload-label p.upload-hint {
    font-size: 0.9rem;
    color: #999;
}

.tab-hint {
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.complexity-select {
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.complexity-select:hover {
    border-color: var(--primary-color);
}

.control-hint {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

.pattern-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.pattern-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pattern-section h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.pattern-chart {
    margin-bottom: 20px;
    overflow: auto;
    max-height: 600px;
}

.pattern-chart canvas {
    display: block;
    border: 1px solid var(--light-bg);
    border-radius: 8px;
    margin-bottom: 20px;
}

.pattern-legend {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.pattern-legend h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.legend-item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
}

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

.pattern-download-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pattern-download-btn:hover {
    background: #00a878;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .pattern-generator-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pattern-results {
        grid-template-columns: 1fr;
    }
    
    .canvas-tools {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .community-canvas-section h2,
    .pattern-generator-section h2 {
        font-size: 2rem;
    }
}

/* ===== PAYPAL & TIP SECTION ===== */
.support-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff9e6 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.support-description {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 10px 0;
}

.paypal-form {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.paypal-tip-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.paypal-tip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 112, 186, 0.3);
}

.tip-options {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-label {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.tip-options form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tip-options input {
    width: 80px;
    padding: 8px;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.paypal-custom-btn {
    padding: 8px 15px;
    background: #0070ba;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.paypal-custom-btn:hover {
    background: #003087;
}

/* ===== EMAIL SIGNUP FORMS ===== */
.canvas-email-signup,
.pattern-email-signup {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--secondary-color);
}

.canvas-email-signup h4,
.pattern-email-signup h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5rem;
}

.canvas-email-signup p,
.pattern-email-signup p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 10px 0;
}

.signup-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.signup-benefits span {
    text-align: center;
    padding: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.email-signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.email-signup-form input {
    padding: 12px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.email-signup-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.email-signup-btn {
    padding: 14px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.email-signup-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.email-privacy-note {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    margin: 10px 0 0 0;
}

.signup-message {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
    display: none;
}

.signup-message.success {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    border-left: 4px solid #00b894;
}

.signup-message.error {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border-left: 4px solid #ff4d4d;
}

/* ===== PRICING CARDS ===== */
.pattern-pricing-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pattern-pricing-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 0;
}

.pricing-intro {
    text-align: center;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 40px;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    transform: translateY(-5px);
}

.pricing-card.premium {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f5f5f5 0%, #f0e8f5 100%);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 15px 0 5px;
}

.price-desc {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    padding: 20px 0;
    text-align: left;
    border-top: 1px solid var(--light-bg);
    border-bottom: 1px solid var(--light-bg);
}

.price-features li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.pricing-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-free {
    background: var(--light-bg);
    color: var(--text-dark);
}

.btn-free:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-premium {
    background: var(--primary-color);
    color: white;
}

.btn-premium:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.btn-master {
    background: var(--accent);
    color: white;
}

.btn-master:hover {
    background: #00a878;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

/* ===== RESPONSIVE PRICING ===== */
@media (max-width: 768px) {
    .pricing-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .canvas-email-signup,
    .pattern-email-signup {
        padding: 25px;
    }
    
    .email-signup-form {
        flex-direction: column;
    }
    
    .tip-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tip-options input {
        width: 100%;
    }
}

/* ===== ENHANCED CANVAS FEATURES ===== */
.enhanced-controls {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;
    border-radius: 10px;
    color: white;
}

.enhanced-controls h4 {
    color: white;
    margin-bottom: 10px;
}

.canvas-action-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 5px;
}

.canvas-action-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.color-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.color-preset {
    width: 100%;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-preset:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* ===== ENHANCED PATTERN FEATURES ===== */
.craft-select,
.complexity-select {
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

.ai-suggest-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.ai-suggest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.ai-suggestions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suggestion-item {
    padding: 12px;
    background: #f0f4ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.suggestion-item.recommended {
    background: #e8f5e9;
    border-left-color: #00b894;
    font-weight: 600;
}

.export-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.export-btn {
    padding: 10px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== HOME PAGE BANNERS ===== */
.banners-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.banners-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.banner-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-end;
}

.banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.banner-card:hover .banner-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    width: 100%;
}

.banner-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.banner-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.95;
}

.banner-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid white;
    transition: all 0.3s ease;
}

.banner-card:hover .banner-link {
    border-bottom-color: var(--accent);
}

/* Individual banner backgrounds */
.gallery-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.canvas-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.pattern-banner {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.shop-banner {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.contact-banner {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights-section {
    padding: 60px 0;
    background: white;
}

.highlights-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.highlight-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-privacy {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .banners-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SHOP & SUPPORT SECTIONS ===== */
.support-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
}

.support-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.support-section > div > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.support-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.support-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.support-card p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.support-btn {
    padding: 10px 25px;
    background: white;
    color: #f5576c;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-tip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.custom-tip input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
}

.custom-tip button {
    flex: 0 0 auto;
    padding: 8px 15px;
}

.platforms-info {
    padding: 60px 0;
    background: #f8f9fa;
}

.platforms-info h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 60px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f0f4ff;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.1);
}

.faq-item h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== STORE CARD ENHANCEMENTS ===== */
.store-card {
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.store-features span {
    color: var(--accent);
    font-weight: 600;
}

/* ===== SOCIAL LIST ===== */
.social-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.social-list a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* ===== INLINE CTA BUTTON ===== */
.cta-button.inline {
    display: inline-block;
    margin-top: 10px;
}

/* ===== ART ROULETTE STYLES ===== */
.roulette-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.roulette-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.roulette-header h2 {
    margin-bottom: 10px;
}

.roulette-wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 30px auto;
}

.roulette-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: conic-gradient(
        #667eea 0deg 60deg,
        #764ba2 60deg 120deg,
        #f093fb 120deg 180deg,
        #f5576c 180deg 240deg,
        #4facfe 240deg 300deg,
        #00f2fe 300deg 360deg
    );
    transform-origin: center;
}

.roulette-wheel .wheel-item {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roulette-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid white;
    z-index: 10;
}

@keyframes spinWheel {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(var(--final-rotation, 0deg));
    }
}

.roulette-spin-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin: 10px;
}

.mystery-preview {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 20px 0;
}

.mystery-reveal-box h3 {
    margin-bottom: 15px;
}

.mystery-teaser {
    text-align: left;
    margin: 15px 0;
}

.tease-item {
    margin: 8px 0;
}

.mystery-reveal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.mystery-full-reveal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-reveal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.reveal-animation {
    animation: revealPulse 0.8s ease;
}

@keyframes revealPulse {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.mystery-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.craft-emoji {
    font-size: 3rem;
    margin: 10px 0;
}

.color-palette {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #ddd;
}

.pattern-specs {
    text-align: left;
    list-style: none;
    padding: 0;
}

.pattern-specs li {
    padding: 5px 0;
}

.bonus-features ul {
    list-style: none;
    padding: 0;
}

.bonus-features li {
    padding: 8px 0;
}

.reveal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.reveal-actions button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-generate-pattern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-save-mystery {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #667eea;
}

/* ===== EASTER EGG SIGNATURES ===== */
.message-progress-container {
    padding: 20px;
    margin: 20px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 10px;
}

.message-progress-label {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.secret-msg-btn {
    background: linear-gradient(135deg, #764ba2 0%, #f5576c 100%) !important;
    color: white !important;
}

.secret-message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.secret-message-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.message-form-group {
    margin-bottom: 20px;
}

.message-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.message-form-group textarea,
.message-form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
}

.char-count {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.btn-submit-message {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.message-unlocked-notice {
    padding: 20px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border-radius: 10px;
    margin: 20px 0;
    animation: slideDown 0.4s ease;
}

.message-unlocked-notice.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unlock-announcement {
    text-align: center;
    position: relative;
}

.btn-reveal-messages {
    background: white;
    color: #43e97b;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px;
}

.messages-reveal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    overflow-y: auto;
}

.messages-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.messages-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.message-card {
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    background: #f8f9fa;
}

.message-card.message-mysterious {
    border-left-color: #667eea;
}

.message-card.message-funny {
    border-left-color: #ffc107;
}

.message-card.message-inspirational {
    border-left-color: #ff6b6b;
}

.message-card.message-romantic {
    border-left-color: #e74c3c;
}

.message-card.message-cryptic {
    border-left-color: #8e44ad;
}

.message-text {
    font-style: italic;
    margin-bottom: 8px;
    color: #333;
}

.message-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.message-reactions {
    display: flex;
    gap: 8px;
}

.react-btn {
    padding: 4px 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ===== AI COMPANION PATTERNS ===== */
.ai-companion-panel {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.companion-header {
    text-align: center;
    margin-bottom: 30px;
}

.companion-header h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.companion-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--primary-color);
}

.companion-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.difficulty-rating {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.time-estimate {
    color: #666;
    margin-top: 5px;
}

.yarn-suggestion {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.yarn-suggestion.recommended {
    font-weight: 600;
    color: var(--primary-color);
}

.cost-highlight {
    font-weight: 600;
    color: #27ae60;
    font-size: 1.1rem;
}

.cost-note {
    font-size: 0.9rem;
    color: #666;
}

.style-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.style-desc {
    color: #666;
}

.technique-item {
    padding: 5px 0;
    color: #555;
}

.finish-item {
    padding: 5px 0;
}

.finish-item.recommended {
    font-weight: 600;
    color: var(--accent);
}

.companion-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.disclaimer {
    font-size: 0.9rem;
    color: #666;
}

.btn-premium-analysis {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
}

.btn-premium-analysis small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.premium-analysis-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    overflow-y: auto;
}

.premium-analysis-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.premium-sections {
    margin: 30px 0;
}

.premium-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.premium-section:last-child {
    border-bottom: none;
}

.premium-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.brand-list {
    display: grid;
    gap: 12px;
}

.brand-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.brand-name {
    font-weight: 600;
    color: #333;
}

.brand-reason {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

.tools-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.8;
}

.finish-list,
.cost-breakdown {
    display: grid;
    gap: 15px;
}

.finish-option,
.cost-option {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.finish-option.recommended,
.cost-option.recommended {
    border-left-color: var(--accent);
    background: rgba(0, 184, 148, 0.05);
}

.finish-name,
.cost-option h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.finish-reason {
    font-size: 0.9rem;
    color: #666;
}

.cost-mid {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 5px;
}

.premium-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-unlock-full {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.05rem;
}

/* ===== PERSONALIZATION ===== */
.personalization-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 2000;
    animation: slideIn 0.4s ease;
}

.personalization-widget.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.widget-content {
    padding: 20px;
    position: relative;
}

.widget-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.widget-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 10px;
}

.recommendations-list {
    display: grid;
    gap: 12px;
    margin-bottom: 15px;
}

.recommendation-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.recommendation-item.hint {
    border-left-color: #f39c12;
}

.rec-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.rec-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.rec-confidence {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.btn-try-pattern {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.widget-premium-cta {
    padding-top: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.widget-premium-cta p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.widget-premium-cta form {
    display: grid;
}

.widget-premium-cta button {
    padding: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .roulette-container {
        padding: 30px;
    }
    
    .mystery-details {
        grid-template-columns: 1fr;
    }
    
    .personalization-widget {
        max-width: 90%;
        right: 5%;
        left: 5%;
    }
    
    .companion-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FEATURES PAGE STYLES ===== */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-card.featured {
    border-top-color: var(--accent);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    position: relative;
}

.feature-card.featured::before {
    content: "⭐ PREMIUM SUITE";
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-tagline {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.feature-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.feature-points li {
    padding: 5px 0;
    color: #333;
}

.feature-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    margin: 15px 0;
}

.feature-btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: auto;
}

.feature-btn:hover {
    background: var(--secondary-color);
}

.features-comparison {
    margin: 80px 0;
}

.features-comparison h2 {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.features-benefits {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 20px;
}

.features-benefits h2 {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

.features-cta {
    text-align: center;
    padding: 60px 0;
}

.features-cta h2 {
    margin-bottom: 15px;
}

.features-cta > p {
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== LAZY LOADING STYLES ==================== */

/* Lazy load images - placeholder blur effect */
img[data-src], img[data-artpal-id] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

img.loaded {
    animation: none;
    background: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.placeholder-image {
    opacity: 0.8;
    background: none !important;
    animation: none !important;
}

/* ==================== ITEM DETAIL PAGE STYLES ==================== */

.item-detail-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.item-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
}

.item-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-breadcrumb a:hover {
    text-decoration: underline;
}

.item-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Image Column */
.item-image-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item-image-container {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.item-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 300px;
}

.image-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-icon:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Thumbnail Preview */
.thumbnail-preview {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-hint {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    text-align: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f5f5f5;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Info Column */
.item-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-badge, .category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-badge {
    background: var(--primary-color);
    color: white;
}

.category-badge {
    background: var(--secondary-color);
    color: white;
}

.item-info-column h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 10px 0;
}

.item-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.item-details {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row label {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-row span {
    color: #666;
}

/* Action Buttons */
.item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #5a4fb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: var(--accent);
    color: white;
}

.btn-secondary:hover {
    background: #00a074;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Stats */
.item-stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.1);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Related Section */
.related-section {
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-section h2 {
    margin-bottom: 30px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.related-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.related-item h3 {
    padding: 15px;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.view-link {
    display: block;
    padding: 10px 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-link:hover {
    color: #5a4fb8;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

#zoomedImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 1024px) {
    .item-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .item-detail-section {
        padding: 20px 0;
    }

    .item-info-column h1 {
        font-size: 1.8rem;
    }

    .item-actions {
        flex-direction: column;
    }

    .item-stats {
        flex-direction: column;
        gap: 15px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .item-info-column h1 {
        font-size: 1.4rem;
    }

    .item-meta {
        flex-direction: column;
    }

    .platform-badge, .category-badge {
        width: 100%;
        text-align: center;
    }

    .item-actions {
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

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

/* ==================== SHOP QUICK LINKS ==================== */

.store-quick-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quick-links-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-links a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: #5a4fb8;
    transform: translateY(-2px);
}
