/* ===== TYPES PAGE SPECIFIC STYLES ===== */

/* Types Hero Section */
.types-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.types-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(156, 64, 255, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.2) 0%, transparent 40%),
                linear-gradient(135deg, #0a0b0d 0%, #1a1d29 100%);
    z-index: -1;
}

.types-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.types-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.types-hero-description {
    font-size: 1.2rem;
    color: #b4bcd0;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Navigation active state */
.nav-menu a.active {
    background: linear-gradient(135deg, #00d4ff, #9c40ff);
    color: #ffffff;
}

/* Type Effectiveness Section */
.type-effectiveness {
    padding: 4rem 0;
    background: linear-gradient(180deg, #0a0b0d 0%, #151821 100%);
}

.effectiveness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.effectiveness-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.effectiveness-card.super-effective {
    border-color: #51cf66;
}

.effectiveness-card.normal {
    border-color: #74c0fc;
}

.effectiveness-card.not-very-effective {
    border-color: #ffd43b;
}

.effectiveness-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.effectiveness-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.effectiveness-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.effectiveness-card p {
    color: #b4bcd0;
    font-weight: 600;
}

/* Types Overview Section */
.types-overview {
    padding: 6rem 0;
    background: linear-gradient(180deg, #151821 0%, #1a1d29 100%);
}

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

.type-detail-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}

/* Type-specific colors */
.type-detail-card.bioflorae {
    border-color: rgba(81, 207, 102, 0.5);
}

.type-detail-card.bioflorae::before {
    background: linear-gradient(90deg, #51cf66, #69db7c);
}

.type-detail-card.pyrofae {
    border-color: rgba(255, 107, 107, 0.5);
}

.type-detail-card.pyrofae::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.type-detail-card.aquaflow {
    border-color: rgba(116, 192, 252, 0.5);
}

.type-detail-card.aquaflow::before {
    background: linear-gradient(90deg, #74c0fc, #91d5ff);
}

.type-detail-card.voltage {
    border-color: rgba(255, 212, 59, 0.5);
}

.type-detail-card.voltage::before {
    background: linear-gradient(90deg, #ffd43b, #ffe066);
}

.type-detail-card.fermetal {
    border-color: rgba(134, 142, 150, 0.5);
}

.type-detail-card.fermetal::before {
    background: linear-gradient(90deg, #868e96, #adb5bd);
}

.type-detail-card.terragear {
    border-color: rgba(139, 69, 19, 0.5);
}

.type-detail-card.terragear::before {
    background: linear-gradient(90deg, #8b4513, #a0522d);
}

.type-detail-card.digital {
    border-color: rgba(76, 110, 245, 0.5);
}

.type-detail-card.digital::before {
    background: linear-gradient(90deg, #4c6ef5, #6b7aff);
}

.type-detail-card.cyber {
    border-color: rgba(156, 54, 181, 0.5);
}

.type-detail-card.cyber::before {
    background: linear-gradient(90deg, #9c36b5, #be4bdb);
}

.type-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.type-icon-large {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.type-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.type-category {
    color: #b4bcd0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.type-description {
    margin-bottom: 2rem;
}

.type-description p {
    color: #e0e6ed;
    line-height: 1.6;
}

.type-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid rgba(0, 212, 255, 0.5);
}

.stat-row span:first-child {
    font-weight: 500;
    color: #b4bcd0;
    font-size: 0.9rem;
}

.stat-row span:last-child {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: right;
}

/* Combat System Section */
.combat-system {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1d29 0%, #0f1419 100%);
}

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

.combat-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.combat-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.combat-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.combat-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.combat-feature p {
    color: #b4bcd0;
    line-height: 1.6;
}

/* Strategy Guide Section */
.strategy-guide {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f1419 0%, #0a0b0d 100%);
}

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

.strategy-tip {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(156, 64, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.strategy-tip:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.strategy-tip h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.strategy-tip p {
    color: #e0e6ed;
    line-height: 1.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .types-hero {
        min-height: 50vh;
        padding: 3rem 0;
    }

    .types-hero-title {
        font-size: 2rem;
    }

    .types-hero-description {
        font-size: 1rem;
    }

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

    .type-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .type-icon-large {
        width: 60px;
        height: 60px;
        font-size: 3rem;
    }

    .combat-features,
    .strategy-tips {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-row span {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .type-detail-card,
    .combat-feature,
    .strategy-tip {
        padding: 1.5rem;
    }

    .types-overview,
    .combat-system,
    .strategy-guide {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}