/*=====================================================================
  1. ROOT
=====================================================================*/
:root {
    --bg: #0f0f0f;
    --card-bg: #1e1e1e;
    --card-hover: #2a2a2a;
    --viridian: #2d5a3f;
    --viridian-light: #3a7a52;
    --silver: #d0d0d0;
    --silver-light: #f0f0f0;
    --border: #333;
    --glow: rgba(45, 90, 63, .3);
}

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

html {
    font-size: 100%
}

body {
    background: var(--bg);
    color: var(--silver);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden
}

/*=====================================================================
  3. HEADER
=====================================================================*/
header {
    padding: 4rem 1rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, var(--bg));
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--silver-light);
    text-shadow: 0 0 15px var(--viridian-light);
    letter-spacing: -1px
}

.tagline {
    font-size: 1.4rem;
    color: var(--silver);
    margin-top: 1rem;
    font-weight: 500
}

/*=====================================================================
  4. FULL-WIDTH SMOKE (behind everything)
=====================================================================*/
.smoke-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.smoke {
    position: absolute;
    width: 1200px;
    height: 1200px;
    background:
        radial-gradient(circle at 20% 30%, rgba(210, 210, 210, .35) 0%, transparent 18%),
        radial-gradient(circle at 80% 70%, rgba(210, 210, 210, .3) 0%, transparent 18%),
        radial-gradient(circle, rgba(45, 90, 63, .5) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    animation: drift 32s infinite ease-in-out;
    opacity: .7;
}

.smoke:nth-child(1) {
    top: -400px;
    left: -20%;
    animation-delay: 0s;
    animation-duration: 28s;
}

.smoke:nth-child(2) {
    top: -200px;
    left: 50%;
    animation-delay: 12s;
    animation-duration: 34s;
}

.smoke:nth-child(3) {
    top: -300px;
    left: 70%;
    animation-delay: 20s;
    animation-duration: 30s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: .5;
    }

    50% {
        transform: translate(160px, -120px) scale(1.45);
        opacity: .85;
    }
}

/*=====================================================================
  5. CARD SECTION (centered content, smoke behind)
=====================================================================*/
.card-section {
    position: relative;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 6px solid var(--viridian);
    border-radius: 12px;
    padding: 2rem;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--card-hover);
    transform: translateY(-8px);
    border-color: var(--viridian-light);
}

.card h2 {
    color: var(--silver);
    margin-bottom: .7rem;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--viridian);
}

.card:hover h2 {
    color: var(--viridian-light);
    text-decoration-color: var(--silver);
}

.card p {
    color: var(--silver);
    font-size: 1.05rem;
    line-height: 1.6;
    text-decoration: none;
}

.card a {
    text-decoration: none;
    color: inherit;
}



/*=====================================================================
  6. FOOTER
=====================================================================*/
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    color: var(--silver);
    ;
    font-size: .95rem
}

footer a {
    color: var(--viridian-light);
    text-decoration: none
}

footer a:hover {
    text-decoration: underline
}

/*=====================================================================
  7. RAVEN
=====================================================================*/
.raven-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100
}

.raven {
    width: 50px;
    opacity: .4;
    filter: drop-shadow(0 0 8px var(--viridian));
    animation: float 6s infinite ease-in-out
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-10px) rotate(3deg)
    }
}

/*=====================================================================
  8. RESPONSIVE
=====================================================================*/
@media (max-width:768px) {
    .logo {
        font-size: 3.5rem
    }

    .cards {
        grid-template-columns: 1fr
    }
}