/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c9a227;
    --gold-light: #f0c94d;
    --bg-dark: #0a0a0f;
    --bg-body: #1a0a2e;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --purple-deep: #2a0040;
    --purple-card: #5c0080;
    --purple-mid: #7b0091;
    --text-light: #f0e6cc;
    --border-glow: rgba(201, 162, 39, 0.4);
    --card-radius: 14px;
    --font-main: "Cinzel", serif;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(ellipse at 50% 0%, #2a0040 0%, #0d0010 50%, #07000f 100%);
    min-height: 100vh;
    color: var(--text-light);
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

#logo img {
    width: 70px;
    border-radius: 10px;
    box-shadow: 0 0 16px var(--gold);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    display: block;
}

#logo:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 28px var(--gold-light);
}

.navigation ul li a {
    color: var(--text-light);
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 6px;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
    position: relative;
}

.navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.navigation ul li a:hover {
    color: var(--gold-light);
    letter-spacing: 3px;
}

.navigation ul li a:hover::after {
    width: 80%;
    left: 10%;
}

/* ===== MAIN LAYOUT ===== */
main.mainn {
    padding: 50px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
    padding: 10px 36px;
    border-radius: 8px;
    border: 2px solid rgba(180, 0, 200, 0.5);
    box-shadow: 0 0 30px rgba(120, 0, 160, 0.5),
                inset 0 0 20px rgba(180, 0, 220, 0.1);
    margin-bottom: 10px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
    padding: 8px 28px;
    border-radius: 8px;
    border: 2px solid rgba(180, 0, 200, 0.4);
    box-shadow: 0 0 20px rgba(120, 0, 160, 0.4);
    margin: 20px 0 10px;
}

/* ===== SECTIONS ===== */
section {
    width: 100%;
    overflow: visible;
}

section:first-of-type {
    margin-top: 20px;
}

/* ===== EMOJI GRID ROW ===== */
.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 10px 0 20px;
}

/* ===== EMOJI CARD ===== */
.emoji {
    width: 195px;
    height: 195px;
    background: linear-gradient(145deg, #3d006a, #5c0080);
    border-radius: var(--card-radius);
    border: 1px solid rgba(180, 0, 220, 0.4);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(180, 0, 220, 0.2);
}

.emoji::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.emoji::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--card-radius) + 2px);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0), rgba(180, 0, 220, 0));
    transition: background 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.emoji:hover {
    transform: translateY(-10px) scale(1.06);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.3),
                0 0 0 2px var(--gold),
                0 0 60px rgba(180, 0, 220, 0.3);
}

.emoji svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== ASIDE (icons section) ===== */
aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 50px;
    background: linear-gradient(180deg, #050508 0%, #000 100%);
    border-top: 1px solid var(--border-glow);
    color: var(--text-light);
    padding: 40px 20px 20px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    position: relative;
    width: 100%;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.socialmedia {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.socialmedia a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    background: rgba(201, 162, 39, 0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.socialmedia a:hover {
    transform: translateY(-4px) scale(1.15);
    background: rgba(201, 162, 39, 0.2);
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.socialmedia img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.foo,
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.foo h3 {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 14px;
}

.foo ul {
    list-style: none;
    padding: 0;
}

.foo ul li {
    margin-bottom: 8px;
}

.foo ul li a {
    color: rgba(240, 230, 204, 0.65);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.foo ul li a:hover {
    color: var(--gold-light);
    letter-spacing: 2px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    grid-column: 1 / -1;
    font-size: 11px;
    color: rgba(240, 230, 204, 0.4);
    letter-spacing: 2px;
}
