@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Colors based on provided Tuftsy images */
    --primary-color: #f6c0c8;
    /* Soft pink */
    --primary-dark: #e895a2;
    /* Darker pink for hover */
    --accent-color: #d1a85c;
    /* Gold tone for elegant accents */
    --text-dark: #2c1e27;
    /* Deep muted purple/black for text */
    --text-light: #ffffff;
    --bg-light: #fef5f6;
    /* Very light pink/white for background */
    --bg-white: #ffffff;

    /* Card Game Colors */
    --card-red: #ff4d4d;
    --card-blue: #4da6ff;
    --card-yellow: #ffcc00;
    --card-green: #4dff4d;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-script: 'Playfair Display', serif;
    /* For elegant touches */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius & Shadows */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.script-text {
    font-family: var(--font-script);
    font-style: italic;
    color: var(--primary-dark);
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* Global Mobile Responsiveness */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Shrink overall REM scale slightly */

    .section {
        padding: var(--spacing-lg) 0;
    }

    h1 {
        font-size: 2.8rem !important;
    }

    h2 {
        font-size: 2.2rem !important;
    }

    .container {
        padding: 0 20px;
    }
}