body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    background: url("https://dinostorm.com/wp-content/gallery/concept-art/dino-storm-concept-art-13.png") center/cover fixed;
    color: #f2f2f2;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(3px);
    z-index: -1;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 211, 122, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: default;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 250px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 122, 0.8));
}

.menu-bar {
    display: flex;
    justify-content: center;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.75);
    border-bottom: 3px solid #ffd37a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    z-index: 999;
    padding: 5px 0;
}

header nav {}

nav a {
    color: #f2f2f2;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffd37a;
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

nav a:hover {
    color: #ffd37a;
}

nav a:hover::after {
    transform: translateX(0);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    width: 140px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    border: 1px solid #ffd37a;
    border-radius: 6px;
    z-index: 10;
}

.dropdown-content a {
    color: #f2f2f2;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    transition: 0.3s;
    margin-left: 0;
}

.dropdown-content a:hover {
    background-color: #ffd37a;
    color: #000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #ffd37a;
}

.dino-gallery-section {
    padding-top: 140px;
    padding-bottom: 80px;
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 44px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 211, 122, 0.7);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    color: #ccc;
}

.dino-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.dino-box {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dino-box.combat {
    border-top: 4px solid #ff4444;
}

.dino-box.combat:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px var(--main-color);
}

.dino-box.combat .dino-name {
    color: var(--main-color);
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.8);
}

.dino-box.combat .ability-icon {
    filter: drop-shadow(0 0 3px var(--main-color));
}

.dino-box.tank {
    border-top: 4px solid #44ff44;
}

.dino-box.tank:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px var(--main-color);
}

.dino-box.tank .dino-name {
    color: var(--main-color);
    text-shadow: 0 0 5px rgba(68, 255, 68, 0.8);
}

.dino-box.tank .ability-icon {
    filter: drop-shadow(0 0 3px var(--main-color));
}

.dino-box.speed {
    border-top: 4px solid #ffff44;
}

.dino-box.speed:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px var(--main-color);
}

.dino-box.speed .dino-name {
    color: var(--main-color);
    text-shadow: 0 0 5px rgba(255, 255, 68, 0.8);
}

.dino-box.speed .ability-icon {
    filter: drop-shadow(0 0 3px var(--main-color));
}

.dino-box.utility {
    border-top: 4px solid #aa44ff;
}

.dino-box.utility:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px var(--main-color);
}

.dino-box.utility .dino-name {
    color: var(--main-color);
    text-shadow: 0 0 5px rgba(170, 68, 255, 0.8);
}

.dino-box.utility .ability-icon {
    filter: drop-shadow(0 0 3px var(--main-color));
}

.dino-box:hover {
    transform: translateY(-5px);
}

.dino-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    line-height: 1.2;
}

.dino-image-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dino-image {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.stats-bar {
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.stats-bar span {
    letter-spacing: 2px;
    color: #ffd37a;
    filter: drop-shadow(0 0 2px rgba(255, 211, 122, 0.5));
}

.attack-stat span {
    color: #ff4444;
}

.defense-stat span {
    color: #44ff44;
}

.speed-stat span {
    color: #4444ff;
}

.dino-type {
    font-weight: 700;
    color: #eee;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 4px;
    margin-top: 15px;
}

.dino-ability {
    font-size: 14px;
    margin: 10px 10px 5px 10px;
    color: #ccc;
    text-align: center;
}

.dino-ability {
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.6;
}

.ability-list {
    text-align: center;
    padding-left: 0;
    margin: 10px 10px 5px 10px;
}

.ability-item {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    color: #f2f2f2;
    font-style: normal;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.ability-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}

.view-more-btn {
    margin-top: auto !important;
    width: 100%;
    box-sizing: border-box;
}

.view-more-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--button-color), 0 6px 15px rgba(0, 0, 0, 0.9);
}

.view-more-btn:active {
    filter: brightness(0.9);
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: #0d0d0d;
    border-top: 5px solid #ffd37a;
    margin-top: 40px;
}

footer p {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #f2f2f2;
    text-shadow: 0 0 5px rgba(255, 211, 122, 0.4);
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.social-links {
    margin-top: 15px;
}

.discord-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.discord-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #ffd37a, 0 0 25px #a88045;
}

.view-more-btn {
    --button-color: var(--main-color, #ffd37a);
    display: block;
    width: 80%;
    margin: 20px auto 0 auto;
    padding: 10px 15px;
    background: var(--button-color);
    color: #0d0d0d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.1s;
    box-shadow: 0 0 10px var(--button-color), 0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.view-more-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--button-color), 0 6px 15px rgba(0, 0, 0, 0.9);
}

.view-more-btn:active {
    filter: brightness(0.9);
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .info {
        width: 90%;
        padding: 40px 20px;
    }
}

@media (max-width: 650px) {
    header {
        height: 40px;
        padding: 10px 10px;
    }
    .logo img {
        height: 40px;
        max-width: 180px;
    }
    .menu-bar {
        top: 60px;
        padding: 5px 0;
    }
    nav {
        display: flex;
        justify-content: space-around;
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    nav a {
        font-size: 12px;
        padding: 8px 3px;
        margin-left: 3px;
    }
    .dropdown-content {
        left: 0;
        right: auto;
        min-width: 120px;
        width: auto;
    }
    .hero {
        padding-top: 110px;
        height: auto;
        min-height: 70vh;
        align-items: flex-start;
        padding-bottom: 40px;
    }
    .hero h2 {
        font-size: 30px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-content {
        padding: 0 20px;
    }
    .info {
        padding: 30px 15px;
        width: 95%;
        margin: 20px auto;
    }
    .info h2 {
        font-size: 24px;
    }
    .info p {
        font-size: 18px;
    }
    footer p {
        font-size: 14px;
    }
    .discord-icon {
        width: 35px;
        height: 35px;
    }
}