/* ═══════════════════════════════════════════
   COBBLEVERSE — Simple, Elegant, Premium
   Minecraft x Cobblemon
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

@font-face {
    font-family: 'olivier';
    src: url('./olivier.ttf') format('truetype');
}

@font-face {
    font-family: 'coolfont';
    src: url('./coolfont.otf') format('opentype');
}

:root {
    --coral: #FB7D59;
    --coral-deep: #ee6b46;
    --yellow: #f5be29;
    --sky: #b8deff;
    --mint: #38d87d;
    --black: #1a1a1a;
    --white: #fefefe;
    --off-white: #f8f6f1;
    --grey: #888;
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background-color: var(--coral);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
.font-olivier {
    font-family: 'olivier', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ═══════════════════════════
   LAYOUT
   ═══════════════════════════ */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

/* ═══════════════════════════
   HERO
   ═══════════════════════════ */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
}

.brand {
    font-family: 'olivier', serif;
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

header nav ul li a {
    font-family: 'olivier', serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--black);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    color: var(--black);
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 700px;
}

.hero-label {
    font-family: 'olivier', serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* ═══════════════════════════
   BUTTONS
   ═══════════════════════════ */

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 999px;
    font-weight: 700;
    font-family: 'olivier', serif;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--black);
    color: var(--black);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

/* ═══════════════════════════
   IP SECTION (Simplified)
   ═══════════════════════════ */

.ip-section {
    background-color: var(--coral);
    text-align: center;
    padding: 60px 0;
}

.section-label {
    font-family: 'olivier', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
}

.ip-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 30px 50px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--black);
}

.ip-box code {
    font-family: 'coolfont', monospace;
    font-size: 2.5rem;
    color: var(--black);
}

.ip-box .copy-icon {
    opacity: 0.3;
}

.ip-box:hover .copy-icon {
    opacity: 1;
}

.ip-box .tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.ip-box.copied .tooltip {
    opacity: 1;
}

/* ═══════════════════════════
   DOWNLOADS
   ═══════════════════════════ */

.downloads-section {
    padding: 80px 0;
}

.download-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
    text-align: left;
    transition: var(--transition);
    border: 2px solid var(--black);
}

.download-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.download-card h3 {
    font-family: 'olivier', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.download-card p {
    color: var(--black);
    margin-bottom: 25px;
    font-weight: 500;
}

/* ═══════════════════════════
   FOOTER
   ═══════════════════════════ */

footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.footer-brand {
    font-family: 'olivier', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    margin-top: 40px;
    opacity: 0.3;
    font-size: 0.8rem;
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */

@media (max-width: 768px) {
    .download-cards {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .ip-box code {
        font-size: 1.2rem;
    }
}