/* global */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #000000;
    --bg-secondary: rgba(0, 0, 0, 0.5);
    --bg-card: rgba(245, 245, 247, 0.04);
    --bg-card-hover: rgba(245, 245, 247, 0.06);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border-color: rgba(245, 245, 247, 0.1);
    --border-subtle: rgba(245, 245, 247, 0.08);
    --accent-color: #2997ff;
    --accent-hover: #0077ed;
    --icon-color: #2997ff;
    --section-bg: #000000;
    --gradient-overlay: rgba(41, 151, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.25);
}

body[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.05);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --accent-color: #0066cc;
    --accent-hover: #0077ed;
    --icon-color: #0066cc;
    --section-bg: #f5f5f7;
    --gradient-overlay: rgba(0, 102, 204, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1), color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: background-color, color;
}

h1, h2, .white {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), opacity 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

a:hover {
    color: var(--accent-hover);
    opacity: 0.8;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), border-color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    box-shadow: 0 4px 12px var(--shadow-color);
    will-change: background, border-color, transform;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.25rem;
    transition: opacity 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    color: var(--text-primary);
    will-change: opacity, transform, color;
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

/* section 1 */
.section-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
    transition: background 0.5s cubic-bezier(0.28, 0.11, 0.32, 1), border-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: background, border-color;
}

.section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--gradient-overlay) 0%, transparent 50%);
    opacity: 0.6;
    transition: background 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: background;
}

.section-1 > * {
    position: relative;
    z-index: 1;
}

.section-1 i {
    margin-bottom: 1.5rem;
    color: var(--icon-color);
    filter: drop-shadow(0 0 20px var(--gradient-overlay));
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1), filter 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color, filter;
}

.section-1 p {
    font-size: 1.0625rem;
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

.section-1 h2 {
    font-size: 2rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

.section-1 a {
    font-size: 1.375rem;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: background 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), border-color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    will-change: background, border-color, color;
}

.section-1 a::before {
    display: none;
}

.section-1 a:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px var(--gradient-overlay);
    opacity: 1;
}

.section-1 a i {
    position: relative;
    z-index: 1;
    filter: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

/* section 2 */
.section-2 {
    padding: 3rem 3rem;
    overflow-y: auto;
    max-height: 100vh;
    background: var(--section-bg);
    transition: background 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: background;
}

.section-2::-webkit-scrollbar {
    width: 8px;
}

.section-2::-webkit-scrollbar-track {
    background: transparent;
}

.section-2::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.section-2::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
    opacity: 0.8;
    background-clip: padding-box;
}

.section-2 h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

.section-2 h2:first-child {
    margin-top: 0;
}

.section-2 h2::before {
    display: none;
}

.section-2 p {
    font-size: 1.0625rem;
    margin: 1rem 0;
    line-height: 1.58824;
    color: var(--text-primary);
    letter-spacing: -0.022em;
    max-width: 980px;
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

.section-2 a {
    display: inline-block;
    padding: 0;
    font-size: 1.0625rem;
    font-weight: 400;
    border-bottom: none;
    transition: color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), opacity 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

.section-2 a:hover {
    opacity: 0.8;
}

.section-2 ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    max-width: 980px;
}

.section-2 ul li {
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin: 1rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: background 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), border-color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    line-height: 1.58824;
    letter-spacing: -0.022em;
    will-change: color, background, border-color;
}

.section-2 ul li:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.section-2 ul li strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
    transition: color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: color;
}

/* Discord contact badge */
.discord-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', sans-serif;
    border-radius: 12px;
    padding: 0.5em 1em;
    font-size: 1.0625rem;
    margin-top: 0.5em;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    color: #5865F2;
    min-width: 230px;
    min-height: 2.5em;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.discord-contact:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}

.discord-contact i {
    font-size: 1.2em;
    margin-right: 0.3em;
}

/* Email contact badge */
.email-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', sans-serif;
    border-radius: 12px;
    padding: 0.5em 1em;
    font-size: 1.0625rem;
    margin-top: 0.5em;
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.2);
    color: var(--accent-color);
    min-width: 230px;
    min-height: 2.5em;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.email-contact:hover {
    background: rgba(41, 151, 255, 0.15);
    border-color: rgba(41, 151, 255, 0.3);
    transform: translateY(-2px);
}

.email-contact i {
    font-size: 1.2em;
    margin-right: 0.3em;
}

.email-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.email-contact a:hover {
    color: var(--accent-hover);
    opacity: 0.8;
}

/* contact page styles */
.contact-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    box-shadow: 0 8px 32px var(--shadow-color);
    padding: 3rem 3rem 2.5rem 3rem;
    min-width: 320px;
    max-width: 90vw;
    text-align: center;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.contact-card h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.contact-card p {
    margin: 1.2em 0;
    color: var(--text-primary);
}

.back-link {
    margin-top: 2.5rem;
}

.back-link a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.0625rem;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.back-link a:hover {
    color: var(--accent-hover);
    opacity: 0.8;
}

/* Get in Touch link styles */
.get-in-touch-link {
    margin-top: 2.5rem;
    text-align: left;
}

.get-in-touch-link a {
    display: inline-block;
    background: var(--accent-color);
    color: #fff !important;
    font-weight: 500;
    border-radius: 980px;
    padding: 0.75em 1.5em;
    font-size: 1.0625rem;
    text-decoration: none !important;
    box-shadow: 0 4px 12px var(--gradient-overlay);
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s cubic-bezier(0.28, 0.11, 0.32, 1) !important;
    transform: none !important;
    width: auto;
    height: auto;
    min-height: auto;
    max-height: none;
    box-sizing: border-box;
    letter-spacing: -0.022em;
    will-change: background, transform;
}

.get-in-touch-link a i {
    font-size: 1em;
    margin-right: 0.5em;
    transition: none !important;
    transform: none !important;
}

.get-in-touch-link a:hover,
.get-in-touch-link a:focus,
.get-in-touch-link a:active {
    background: var(--accent-hover) !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.02) !important;
    box-shadow: 0 6px 16px var(--gradient-overlay) !important;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1) !important;
    padding: 0.75em 1.5em !important;
    font-size: 1.0625rem !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    border-left: none !important;
    padding-left: 1.5em !important;
    opacity: 1 !important;
}

/* Liquid Glass Toggle Button */
.liquid-glass-toggle {
    position: fixed;
    top: 2rem;
    right: 5.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), border-color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    box-shadow: 0 4px 12px var(--shadow-color);
    will-change: background, border-color, transform;
}

.liquid-glass-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.liquid-glass-toggle i {
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

body[data-liquid-glass="true"] .liquid-glass-toggle {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.25), rgba(120, 80, 255, 0.25));
    border-color: rgba(41, 151, 255, 0.4);
    box-shadow: 0 4px 20px rgba(41, 151, 255, 0.3);
}

body[data-liquid-glass="true"] .liquid-glass-toggle i {
    color: #2997ff;
    transform: rotate(15deg);
}

/* Liquid Glass animated background */
body[data-liquid-glass="true"]::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(41, 151, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(120, 80, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 10%, rgba(0, 200, 180, 0.1) 0%, transparent 55%);
    animation: liquidShift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes liquidShift {
    0%   { background-position: 0% 0%, 100% 100%, 50% 0%; }
    33%  { background-position: 30% 60%, 70% 30%, 80% 50%; }
    66%  { background-position: 60% 20%, 40% 80%, 20% 70%; }
    100% { background-position: 100% 50%, 0% 50%, 50% 100%; }
}

/* Liquid Glass panel treatment */
body[data-liquid-glass="true"] .section-1 {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: saturate(200%) blur(40px) brightness(1.05);
    -webkit-backdrop-filter: saturate(200%) blur(40px) brightness(1.05);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), 4px 0 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"][data-liquid-glass="true"] .section-1 {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: saturate(200%) blur(40px) brightness(1.08);
    -webkit-backdrop-filter: saturate(200%) blur(40px) brightness(1.08);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.5), 4px 0 32px rgba(0, 0, 0, 0.08);
}

body[data-liquid-glass="true"] .section-2 {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

body[data-theme="light"][data-liquid-glass="true"] .section-2 {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

body[data-liquid-glass="true"] .section-2 ul li {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="light"][data-liquid-glass="true"] .section-2 ul li {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-liquid-glass="true"] .theme-toggle,
body[data-liquid-glass="true"] .liquid-glass-toggle {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(200%) blur(30px);
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.2);
}

body[data-theme="light"][data-liquid-glass="true"] .theme-toggle,
body[data-theme="light"][data-liquid-glass="true"] .liquid-glass-toggle {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .liquid-glass-toggle {
        top: 1.5rem;
        right: 5rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .liquid-glass-toggle {
        top: 1rem;
        right: 4.5rem;
        width: 40px;
        height: 40px;
    }

    .liquid-glass-toggle i {
        font-size: 1rem;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-2 > * {
    animation: fadeInUp 0.8s cubic-bezier(0.28, 0.11, 0.32, 1) forwards;
}

.section-2 > *:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.section-2 > *:nth-child(2) { animation-delay: 0.15s; opacity: 0; }
.section-2 > *:nth-child(3) { animation-delay: 0.2s; opacity: 0; }
.section-2 > *:nth-child(4) { animation-delay: 0.25s; opacity: 0; }
.section-2 > *:nth-child(5) { animation-delay: 0.3s; opacity: 0; }
.section-2 > *:nth-child(6) { animation-delay: 0.35s; opacity: 0; }
.section-2 > *:nth-child(7) { animation-delay: 0.4s; opacity: 0; }
.section-2 > *:nth-child(8) { animation-delay: 0.45s; opacity: 0; }

/* contact section styling */
.section-2 p:last-child,
.section-2 p:nth-last-child(2) {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.9375rem;
    border: 1px solid var(--border-subtle);
    margin: 0.75rem 0;
    letter-spacing: -0.015em;
}

/* media queries */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .section-1 h2 {
        font-size: 1.75rem;
    }
    
    .section-2 {
        padding: 2.5rem 2rem;
    }
    
    .section-2 h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .theme-toggle i {
        font-size: 1.125rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }
    
    .section-1 {
        min-height: 100vh;
        padding: 3rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .section-1 h2 {
        font-size: 1.75rem;
    }
    
    .section-2 {
        padding: 2.5rem 1.5rem;
        max-height: none;
        overflow: visible;
    }
    
    .section-2 h2 {
        font-size: 1.75rem;
    }
    
    .section-2 ul li {
        font-size: 1rem;
        padding: 1.125rem 1.25rem;
    }
    
    .section-1 a {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    
    .section-1 {
        padding: 2.5rem 1.5rem;
    }
    
    .section-1 h2 {
        font-size: 1.5rem;
    }
    
    .section-2 {
        padding: 2rem 1.25rem;
    }
    
    .section-2 h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .section-2 p {
        font-size: 1rem;
    }
    
    .section-2 ul li {
        font-size: 0.9375rem;
        margin: 0.875rem 0;
        padding: 1rem 1.125rem;
    }
}
