/* ==========================================
   LINCOLN'S RIOT - POKEMON COLLECTIBLES
   Global Styles & Variables
   ========================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --pokemon-yellow: #ffcb05;
    --pokemon-blue: #3b4cca;
    --pokemon-red: #ff6b6b;
    --fire: #ff6b35;
    --water: #6890f0;
    --grass: #78c850;
    --electric: #ffcb05;
    --psychic: #f85888;
    --dark: #705848;
    --dragon: #7038f8;
    --success: #4ade80;
    --danger: #e74c3c;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    color: #fff;
}

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

/* Navigation Bar */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

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

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffcb05, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    background: rgba(255, 203, 5, 0.2);
    color: #ffcb05;
}

.nav-link.active {
    background: linear-gradient(135deg, #ffcb05, #ff6b35);
    color: #000;
    font-weight: 600;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    color: #ccc;
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.nav-dropdown-btn:hover {
    background: rgba(255, 203, 5, 0.2);
    color: #ffcb05;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 40, 0.98);
    border-radius: 10px;
    padding: 10px;
    min-width: 180px;
    border: 1px solid rgba(255, 203, 5, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.nav-dropdown-content a:hover {
    background: rgba(255, 203, 5, 0.2);
    color: #ffcb05;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-dropdown-content {
        position: static;
        display: none;
        margin-left: 20px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Page Title Section */
.page-header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #888;
    font-size: 1rem;
}

/* Lincoln's Introduction */
.lincoln-intro {
    background: linear-gradient(135deg, rgba(255, 203, 5, 0.15), rgba(58, 134, 255, 0.15));
    border: 2px solid rgba(255, 203, 5, 0.4);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: introGlow 3s ease-in-out infinite alternate;
}

@keyframes introGlow {
    0% { box-shadow: 0 0 20px rgba(255, 203, 5, 0.2); }
    100% { box-shadow: 0 0 30px rgba(58, 134, 255, 0.3); }
}

.lincoln-avatar {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #ffcb05, #3a86ff);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.lincoln-text h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ffcb05, #ff6b6b, #3a86ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lincoln-text p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
}

.lincoln-website {
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.lincoln-website strong {
    color: #4ade80;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .lincoln-intro {
        flex-direction: column;
        text-align: center;
    }
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffcb05, #ff6b6b, #3b4cca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Pokemon Card Item */
.pokemon-card-item {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(255, 203, 5, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pokemon-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color, #ffcb05), transparent);
}

.pokemon-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 203, 5, 0.5);
    box-shadow: 0 15px 40px rgba(255, 203, 5, 0.2);
}

.pokemon-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pokemon-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pokemon-card-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.pokemon-card-set {
    font-size: 0.85rem;
    color: #aaa;
}

.pokemon-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.detail-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.pokemon-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 15px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4ade80;
}

/* Rarity Badges */
.rarity-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rarity-common { background: #95a5a6; color: #000; }
.rarity-uncommon { background: #27ae60; color: #fff; }
.rarity-rare { background: #3498db; color: #fff; }
.rarity-holo { background: linear-gradient(135deg, #f1c40f, #e67e22); color: #000; }
.rarity-ultra { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: #fff; }
.rarity-secret { background: linear-gradient(135deg, #f39c12, #e74c3c); color: #fff; }

/* Country Badges */
.new-arrival-badge, .japanese-badge, .italian-badge, .classic-badge {
    position: absolute;
    top: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
}

.new-arrival-badge {
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    animation: pulse 2s infinite;
}

.japanese-badge {
    left: 10px;
    background: linear-gradient(135deg, #c8102e, #ffffff);
    color: #000;
}

.italian-badge {
    left: 10px;
    background: linear-gradient(135deg, #009246, #ffffff, #ce2b37);
    color: #000;
}

.classic-badge {
    left: 10px;
    background: linear-gradient(135deg, #ffcb05, #3b4cca);
    color: #fff;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Arrival Date */
.arrival-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
}

.arrival-label { color: #888; }
.arrival-value { color: #4ade80; font-weight: 600; }
.days-ago { color: #feca57; font-size: 0.8rem; }

/* Buttons */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffcb05, #ff6b35);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 203, 5, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.play-mini-game-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.play-mini-game-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.4);
}

/* QR Code Container */
.pokemon-card-qr {
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin: 15px auto;
    width: fit-content;
}

/* Quick Links Grid */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.quick-link-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 203, 5, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.quick-link-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-link-desc {
    font-size: 0.9rem;
    color: #888;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcb05;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 203, 5, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 203, 5, 0.8);
}
