/* MayaQuote - Consolidated Styles */

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

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
}

/* Common Logo Styles */
.logo {
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
    position: relative;
}

    .logo::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #d4af37, #ffd700);
        border-radius: 2px;
    }

.logo-image {
    height: 150px;
    width: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align:center
}

/* Navigation Links */
.nav-links {
    margin-top: 1.5rem;
}

    .nav-links a {
        text-decoration: none;
        margin: 0 15px;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: inline-block;
    }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Widget Styles */
.widget-container {
    border-radius: 15px;
    padding: 30px;
    margin: 2rem 0;
    border: 3px solid #d4af37;
}

.widget-placeholder {
    text-align: center; /*
    padding: 4rem;*/
    color: #d4af37;
    font-size: 0.5rem;
}

/* Token Grid */
.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.token-card {
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .token-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
        opacity: 0;
    }

    .token-card:hover::before {
        opacity: 1;
        transform: rotate(45deg) translate(100%, 100%);
    }

    .token-card:hover {
        transform: translateY(-8px);
    }

.token-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.token-symbol {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    padding: 1.5rem;
}

.powered-by {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== INDEX PAGE STYLES ===== */
.index-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .index-page .welcome-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
        background: linear-gradient(135deg, #ffffff, #d4af37);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}


.template-card {
    width: 100%;
    height: 260px; /* adjust for taller/shorter images */
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .template-card:hover {
        border-color: #d4af37;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }

.template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.template-card:hover .template-img {
    transform: scale(1.05);
}

.template-name {
    margin-top: 0.8rem;
    color: #d4af37;
    font-size: 1.3rem;
}

.template-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.template-btn {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .template-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    }

.index-page .footer {
    color: #888;
    font-size: 0.9rem;
}

.template-wrapper {
    text-align: center;
    width: 100%;
}

/* ===== DARK THEME 1 STYLES ===== */
.dark1-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
}

    .dark1-page .header {
        text-align: center;
        padding: 2rem 0;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
        margin-bottom: 3rem;
    }

    .dark1-page .nav-links a {
        color: #cccccc;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

        .dark1-page .nav-links a:hover {
            color: #d4af37;
            background: rgba(212, 175, 55, 0.1);
        }

    .dark1-page .widget-section {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(212, 175, 55, 0.2);
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 3rem;
        backdrop-filter: blur(10px);
    }

    .dark1-page .widget-title {
        color: #d4af37;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .dark1-page .token-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

        .dark1-page .token-card:hover {
            border-color: #d4af37;
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
        }

    .dark1-page .token-name {
        color: #d4af37;
    }

    .dark1-page .token-symbol {
        color: #cccccc;
    }

    .dark1-page .widget-container {
        background: #000;
        box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
    }

    .dark1-page .footer {
        border-top: 2px solid rgba(212, 175, 55, 0.3);
    }

    .dark1-page .powered-by {
        color: #d4af37;
    }

/* ===== DARK THEME 2 STYLES ===== */
.dark2-page {
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    color: #ffffff;
}

    .dark2-page .header {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.05));
        border: 2px solid rgba(212, 175, 55, 0.3);
        border-radius: 20px;
        text-align: center;
        padding: 2.5rem 0;
        margin-bottom: 3rem;
        backdrop-filter: blur(15px);
    }

    .dark2-page .logo {
        font-size: 2.8rem;
        background: linear-gradient(135deg, #d4af37, #ffd700);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 3px;
    }

    .dark2-page .nav-links a {
        color: #cccccc;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

        .dark2-page .nav-links a:hover {
            color: #000;
            background: linear-gradient(135deg, #d4af37, #ffd700);
            border-color: #d4af37;
            transform: scale(1.05);
        }

    .dark2-page .main-widget {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(212, 175, 55, 0.05));
        border: 3px solid rgba(212, 175, 55, 0.4);
        border-radius: 20px;
        padding: 3rem;
        margin-bottom: 3rem;
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .dark2-page .widget-title {
        color: #ffd700;
        font-size: 2.2rem;
        margin-bottom: 2rem;
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .dark2-page .widget-container {
        background: rgba(0, 0, 0, 0.6);
        box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
    }

    .dark2-page .tokens-section {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.02));
        border: 2px solid rgba(212, 175, 55, 0.3);
        border-radius: 20px;
        padding: 2.5rem;
        backdrop-filter: blur(15px);
    }

    .dark2-page .section-title {
        color: #ffd700;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
        position: relative;
    }

        .dark2-page .section-title::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 2px;
            background: linear-gradient(90deg, #d4af37, #ffd700);
        }

    .dark2-page .token-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(212, 175, 55, 0.05));
        border: 2px solid rgba(212, 175, 55, 0.3);
    }

        .dark2-page .token-card:hover {
            border-color: #ffd700;
            box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
        }

    .dark2-page .token-name {
        color: #ffd700;
    }

    .dark2-page .token-symbol {
        color: #cccccc;
    }

    .dark2-page .footer {
        border-top: 3px solid rgba(212, 175, 55, 0.3);
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.02));
        border-radius: 20px 20px 0 0;
    }

    .dark2-page .powered-by {
        background: linear-gradient(135deg, #d4af37, #ffd700);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ===== LIGHT THEME 1 STYLES ===== */
.light1-page {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333333;
}

    .light1-page .logo-image {
        filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
    }

    .light1-page .header {
        text-align: center;
        padding: 2rem 0;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
        margin-bottom: 3rem;
        background: rgba(212, 175, 55, 0.05);
        border-radius: 15px;
    }

    .light1-page .nav-links a {
        color: #666666;
        border: 1px solid transparent;
    }

        .light1-page .nav-links a:hover {
            color: #d4af37;
            background: rgba(212, 175, 55, 0.1);
            border-color: rgba(212, 175, 55, 0.3);
        }

    .light1-page .widget-section {
        background: rgba(255, 255, 255, 0.8);
        border: 2px solid rgba(212, 175, 55, 0.2);
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 3rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .light1-page .widget-title {
        color: #d4af37;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .light1-page .token-card {
        background: #ffffff;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

        .light1-page .token-card:hover {
            border-color: #d4af37;
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
        }

    .light1-page .token-name {
        color: #d4af37;
    }

    .light1-page .token-symbol {
        color: #666666;
    }

    .light1-page .widget-container {
        background: #f8f9fa;
    }

    .light1-page .footer {
        border-top: 2px solid rgba(212, 175, 55, 0.3);
        background: rgba(212, 175, 55, 0.05);
        border-radius: 15px;
    }

    .light1-page .powered-by {
        color: #d4af37;
    }

/* ===== LIGHT THEME 2 STYLES ===== */
.light2-page {
    background: radial-gradient(ellipse at center, #ffffff 0%, #f0f2f5 100%);
    color: #333333;
}

    .light2-page .logo-image {
        filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
    }

    .light2-page .header {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.05));
        border: 2px solid rgba(212, 175, 55, 0.3);
        border-radius: 20px;
        text-align: center;
        padding: 2.5rem 0;
        margin-bottom: 3rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .light2-page .logo {
        font-size: 2.8rem;
        background: linear-gradient(135deg, #d4af37, #ffd700);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 3px;
    }

    .light2-page .nav-links a {
        color: #666666;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

        .light2-page .nav-links a:hover {
            color: #ffffff;
            background: linear-gradient(135deg, #d4af37, #ffd700);
            border-color: #d4af37;
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
        }

    .light2-page .main-widget {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(212, 175, 55, 0.05));
        border: 3px solid rgba(212, 175, 55, 0.4);
        border-radius: 20px;
        padding: 3rem;
        margin-bottom: 3rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .light2-page .widget-title {
        color: #d4af37;
        font-size: 2.2rem;
        margin-bottom: 2rem;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }

    .light2-page .widget-container {
        background: rgba(248, 249, 250, 0.8);
        box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
    }

    .light2-page .tokens-section {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(212, 175, 55, 0.02));
        border: 2px solid rgba(212, 175, 55, 0.3);
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .light2-page .section-title {
        color: #d4af37;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
        position: relative;
    }

        .light2-page .section-title::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 2px;
            background: linear-gradient(90deg, #d4af37, #ffd700);
        }

    .light2-page .token-card {
        background: #ffffff;
        border: 2px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

        .light2-page .token-card:hover {
            border-color: #d4af37;
            box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
        }

    .light2-page .token-name {
        color: #d4af37;
    }

    .light2-page .token-symbol {
        color: #666666;
    }

    .light2-page .footer {
        border-top: 3px solid rgba(212, 175, 55, 0.3);
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.02));
        border-radius: 20px 20px 0 0;
    }

    .light2-page .powered-by {
        background: linear-gradient(135deg, #d4af37, #ffd700);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .logo-image {
        height: 150px;
        width: 150px;
    }

    .logo {
        font-size: 2.5rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .template-grid {
        flex-direction: column;
        align-items: center;
    }

    .template-card {
        max-width: 100%;
        width: 100%;
    }

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

    .nav-links a {
        display: block;
        margin: 10px 0;
    }

    .dark2-page .logo,
    .light2-page .logo {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 100px;
        width: 100px;
    }

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