/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Lora', serif;
    color: #e6dace;
    /* Warm Parchment text */
    background: #0f0b0a;
    /* Very dark peat/brown black */
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Background */
.background {
    position: absolute;
    inset: 0;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Warm, dark fantasy forest vibe */
    filter: blur(3px) brightness(0.4) sepia(0.4);
    transform: scale(1.05);
}

.background-overlay {
    position: absolute;
    inset: 0;
    /* Dark vignette */
    background: radial-gradient(circle at center,
            rgba(20, 15, 10, 0.3) 0%,
            rgba(10, 8, 5, 0.9) 70%,
            rgb(5, 4, 3) 100%);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.card-wrapper {
    max-width: 50rem;
    width: 100%;
}

.card-outer {
    background: transparent;
    padding: 1rem;
}

.card-inner {
    position: relative;
    padding: 4rem 3rem;
    border-radius: 8px;

    /* 
       "Dark Polished Wood" Style
       A rich, deep mahogany background with subtle grain texture.
    */
    background-color: #241814;
    background-image:
        /* Subtle Wood Grain Noise */
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
        linear-gradient(to bottom, rgba(43, 29, 23, 0.95), rgba(20, 12, 10, 0.98));

    /* 
       Wooden Frame Border 
       Double border effect: Dark inner line, Lighter Oak outer line
    */
    border: 1px solid #3e2723;
    outline: 4px solid #3e2723;
    /* Dark Oak outline */
    outline-offset: -8px;
    /* Inset frame look */

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 60px rgba(0, 0, 0, 0.9);
    /* Deep shadow inside */
}

/* Decorative corner bolts/studs (Optional feel) */
.card-inner::after {
    /* Subtle highlight on the wood edge */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.logo-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

/* Headline */
.headline {
    margin-bottom: 2rem;
    text-align: center;
}

.headline h2 {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.5rem;
    /* 
       Keep the Magic Logo Colors (Blue/Purple)
       but make it look like "Inlaid Enamel" or "Glowing Runes" on the wood.
    */
    background: linear-gradient(to bottom, #a5f3fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    letter-spacing: 0.05em;
}

/* Body Text */
.body-text {
    margin-bottom: 3rem;
    text-align: center;
}

.body-text p {
    max-width: 38rem;
    margin: 0 auto;
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d7ccc8;
    /* Warm light grey/beige */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Social Media Section */
.social-section {
    margin-top: 3rem;
    position: relative;
    padding-top: 2rem;
}

/* The Separator Line - Carved Groove */
.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(100, 70, 60, 0.8) 50%,
            transparent 100%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
    /* Depth */
}

.social-section h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #8d6e63;
    /* Bronze/Wood tone */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.icon-token {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;

    /* 
       "Wooden Token" Style
       Dark wood texture with a bevelled edge.
    */
    background: #3e2723;
    /* Dark wood base */
    border: 2px solid #5d4037;
    /* Lighter wood rim */
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        /* Inner depth */
        0 4px 8px rgba(0, 0, 0, 0.6);
    /* Drop shadow */
}

.icon-token svg {
    width: 1.8rem;
    height: 1.8rem;
    color: #bcaaa4;
    /* Carved wood color (light brown) */
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}

/* 
   HOVER: MAGIC ACTIVATION
   The carving (icon) fills with the magical logo colors.
   The wood stays wood, but darkens slightly to make the icon pop.
*/

.social-icon:hover .icon-token {
    border-color: #8d6e63;
    /* Highlight rim */
    background: #281812;
    /* Darker rich wood */
}

/* Instagram - Rose Magic */
.social-icon:hover .instagram-token svg {
    color: #f472b6;
    filter: drop-shadow(0 0 5px rgba(244, 114, 182, 0.6));
}

/* Twitch - Violet Magic */
.social-icon:hover .twitch-token svg {
    color: #a78bfa;
    filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.6));
}

/* X - Cyan Magic */
.social-icon:hover .twitter-token svg {
    color: #22d3ee;
    filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6));
}

/* TikTok - Dual Magic (White with colored shadow) */
.social-icon:hover .tiktok-token svg {
    color: #fff;
    filter: drop-shadow(-2px 0 4px #22d3ee) drop-shadow(2px 0 4px #e879f9);
}

/* Discord - Teal Magic */
.social-icon:hover .discord-token svg {
    color: #2dd4bf;
    filter: drop-shadow(0 0 5px rgba(45, 212, 191, 0.6));
}

/* YouTube - Red/Rose Magic */
.social-icon:hover .youtube-token svg {
    color: #fb7185;
    filter: drop-shadow(0 0 5px rgba(251, 113, 133, 0.6));
}


/* Footer */
.footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 20;
}

.footer p {
    text-align: center;
    opacity: 0.4;
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    color: #a1887f;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .card-inner {
        padding: 2.5rem 1.5rem;
    }

    .headline h2 {
        font-size: 2rem;
    }
}