  
        :root {
            --primary-gold: #d4af37;
            --dark-purple: #2d1b4e;
            --blood-red: #8b0000;
            --parchment: #f4f1e8;
            --shadow-dark: rgba(0, 0, 0, 0.8);
        }

        * {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: #ffffff;
            overflow-x: hidden;
        }

        .title-font {
            font-family: 'Cinzel', serif;
        }

        /* 3D Card Effects */
        .card-3d {
            perspective: 1000px;
            transform-style: preserve-3d;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
        }

        .card-3d:hover {
            transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
        }

        .card-inner {
            transform-style: preserve-3d;
            transition: transform 0.6s;
        }

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .floating {
            animation: float 3s ease-in-out infinite;
        }

        /* Glow Effects */
        .glow-text {
            text-shadow: 0 0 10px var(--primary-gold), 0 0 20px var(--primary-gold), 0 0 30px var(--primary-gold);
        }

        .glow-border {
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
            border: 2px solid var(--primary-gold);
        }

        .glow-border:hover {
            box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
        }

        /* 3D Button Effects */
        .btn-3d {
            position: relative;
            transform-style: preserve-3d;
            transition: all 0.3s;
        }

        .btn-3d:hover {
            transform: translateY(-5px) rotateX(15deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .btn-3d:active {
            transform: translateY(-2px) rotateX(5deg);
        }

        /* Parallax Sections */
        .parallax-section {
            position: relative;
            background-attachment: fixed;
            min-height: 100vh;
        }

        /* Character Class Cards */
        .class-card {
            perspective: 1000px;
            height: 350px;
        }

        .class-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .class-card:hover .class-card-inner {
            transform: rotateY(180deg);
        }

        .class-card-front, .class-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .class-card-back {
            transform: rotateY(180deg);
            background: linear-gradient(135deg, var(--dark-purple), var(--blood-red));
        }

        /* Skill Tree Visualization */
        .skill-node {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-gold), #ffd700);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            transition: all 0.4s;
            cursor: pointer;
        }

        .skill-node:hover {
            transform: scale(1.2) translateZ(10px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
        }

        .skill-line {
            height: 3px;
            background: linear-gradient(90deg, var(--primary-gold), transparent);
            position: relative;
        }

        /* Stat Bars */
        .stat-bar {
            height: 20px;
            background: linear-gradient(90deg, var(--primary-gold) 0%, #ffd700 100%);
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }

        .stat-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Tooltip Effects */
        .tooltip {
            position: relative;
        }

        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s;
            z-index: 1000;
        }

        .tooltip:hover::after {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* Navigation */
        .nav-3d {
            background: rgba(45, 27, 78, 0.9);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .nav-item {
            position: relative;
            transition: all 0.3s;
        }

        .nav-item:hover {
            transform: translateY(-2px);
        }

        .nav-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-gold);
            transition: width 0.3s;
        }

        .nav-item:hover::after {
            width: 100%;
        }

        /* Section Backgrounds */
        .section-bg-1 {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        }

        .section-bg-2 {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .section-bg-3 {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        /* Dice Animation */
        .dice {
            animation: roll 2s infinite;
        }

        @keyframes roll {
            0% { transform: rotate(0deg); }
            25% { transform: rotate(90deg); }
            50% { transform: rotate(180deg); }
            75% { transform: rotate(270deg); }
            100% { transform: rotate(360deg); }
        }

        /* Content containers for PDF export */
        .content-section {
            page-break-inside: avoid;
            margin-bottom: 2rem;
        }

        /* Responsive grid for PDF */
        .pdf-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        /* Typography enhancements */
        .text-shadow {
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* Icon animations */
        .icon-spin {
            transition: transform 0.3s;
        }

        .icon-spin:hover {
            transform: rotate(360deg);
        }

        /* Border animations */
        .border-animate {
            position: relative;
            overflow: hidden;
        }

        .border-animate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
            animation: borderMove 3s infinite;
        }

        @keyframes borderMove {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Content visibility for print */
        @media print {
            body {
                background: white !important;
                color: black !important;
            }
            
            .nav-3d {
                display: none;
            }
            
            .card-3d:hover {
                transform: none;
            }
        }
    