:root {
    --pokemon-blue: #3D7DCA;
    --pokemon-yellow: #FFCB05;
    --pokemon-red: #CC0000;
    --pokemon-dark-blue: #003A70;
    --pokemon-light-yellow: #FFDE00;
    --light: #f8f9fa;
    --dark: #212529;
}

* {
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--pokemon-dark-blue), var(--pokemon-blue));
    background-attachment: fixed;
    color: var(--light);
    padding-top: 80px;
    overflow-x: hidden;
}

.brand-logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--pokemon-yellow), var(--pokemon-light-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.navbar {
    background: rgba(0, 58, 112, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffcb05" fill-opacity="0.1" d="M0,128L48,117.3C96,107,192,85,288,96C384,107,480,149,576,160C672,171,768,149,864,128C960,107,1056,85,1152,101.3C1248,117,1344,171,1392,197.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.calculator-card {
    background: rgba(33, 37, 41, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 2px solid var(--pokemon-yellow);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.ingredient-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 203, 5, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.ingredient-card.selected {
    background: rgba(255, 203, 5, 0.2);
    border: 2px solid var(--pokemon-yellow);
    transform: scale(1.03);
}

.ingredient-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--pokemon-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--pokemon-dark-blue);
    box-shadow: 0 5px 15px rgba(255, 203, 5, 0.3);
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pokemon-yellow);
    color: var(--dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}

.quantity-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 203, 5, 0.5);
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 203, 5, 0.3);
    color: white;
    border-radius: 10px;
    padding: 5px;
}

.results-container {
    background: linear-gradient(135deg, rgba(61, 125, 202, 0.3), rgba(0, 58, 112, 0.3));
    border-radius: 15px;
    padding: 25px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 203, 5, 0.3);
}

.recipe-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--pokemon-yellow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.recipe-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.recipe-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pokemon-red);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.power-badge {
    background: linear-gradient(to right, var(--pokemon-yellow), #ff9900);
    color: var(--dark);
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 203, 5, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 203, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 203, 5, 0); }
}

.footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
}

.power-meter {
    height: 200px;
    background: linear-gradient(to top, #1a2a6c, #b21f1f);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.power-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, var(--pokemon-yellow), #ff9900);
    height: 0%;
    transition: height 1.5s ease-in-out;
}

.power-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--pokemon-yellow);
    border-radius: 2px;
}

.type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 5px;
}

.salad-type { background: linear-gradient(to right, #4CAF50, #8BC34A); }
.curry-type { background: linear-gradient(to right, #FF9800, #FF5722); }
.drink-type { background: linear-gradient(to right, #2196F3, #03A9F4); }

/* Blog section styles */
.blog-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
}

.blog-post {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 203, 5, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.blog-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 20px;
}

.blog-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--pokemon-yellow);
}

.blog-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-meta span { margin-right: 15px; }
.blog-excerpt {
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

/* Page Content Styles (for blog posts, about, etc.) */
.page-container {
    padding: 60px 0;
}
.page-content {
    background: rgba(33, 37, 41, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 203, 5, 0.3);
    padding: 40px 50px;
}
.page-content h1, .page-content h2, .page-content h3 {
    color: var(--pokemon-yellow);
    font-weight: 600;
}
.page-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--pokemon-yellow);
    padding-bottom: 20px;
}
.page-content h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 203, 5, 0.3);
}
.page-content h3 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
.page-content p, .page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}
.page-content a {
    color: var(--pokemon-yellow);
    text-decoration: none;
    font-weight: 600;
}
.page-content a:hover {
    text-decoration: underline;
}
.page-content ul {
    list-style-type: '⭐';
    padding-left: 30px;
}
.page-content ul li {
    padding-left: 15px;
    margin-bottom: 10px;
}
.page-content blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--pokemon-yellow);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}
.page-content .featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Dropdown styles */
.dropdown-menu {
    background: rgba(0, 58, 112, 0.95);
    border: 1px solid var(--pokemon-yellow);
}
.dropdown-item {
    color: white;
    transition: all 0.3s;
}
.dropdown-item:hover {
    background: rgba(255, 203, 5, 0.2);
    color: var(--pokemon-yellow);
}