/* Custom Styles for bitgetexchange.goksan.co.kr */
/* Theme: Pink (#EC4899 ~ #DB2777) with Blob/Wave Background */
/* Font: SUIT */
/* Style: Left text + right image, flat cards with hover shadow, fill+shadow buttons */

@import url('https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/variable/woff2/SUIT-Variable.css');

:root {
    --primary-color: #EC4899;
    --secondary-color: #DB2777;
    --accent-color: #F472B6;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-light: #FFFFFF;
    --background-light: #FDF2F8;
    --background-white: #FFFFFF;
    --background-accent: #FCE7F3;
    --border-color: #FBCFE8;
    --shadow-color: rgba(236, 72, 153, 0.2);
    --gradient-primary: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

/* Base Typography */
body, html {
    font-family: 'SUIT Variable', 'SUIT', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background-light);
    color: var(--text-primary);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* Blob/Wave Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: blobMove 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: blobMove 25s ease-in-out infinite reverse;
}

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* All Text Elements */
h1, h2, h3, h4, h5, h6, p, span, a, li, div {
    font-family: 'SUIT Variable', 'SUIT', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Headings */
h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Theme's page title H1 - single H1 per page for SEO */
h1.wp-block-post-title {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Body Text */
p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Anti-Gravity Floating Animations */
@keyframes antiGravityFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

.floating-element {
    animation: antiGravityFloat 6s ease-in-out infinite;
    will-change: transform;
}

.floating-element:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating-element:nth-child(2) { animation-delay: 0.5s; animation-duration: 6s; }
.floating-element:nth-child(3) { animation-delay: 1s; animation-duration: 7s; }
.floating-element:nth-child(4) { animation-delay: 1.5s; animation-duration: 5.5s; }

/* Header */
header,
.wp-block-template-part {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Navigation */
.wp-block-navigation-item__content {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.wp-block-navigation-item__content:hover {
    color: var(--primary-color) !important;
}

/* Fill + Shadow Buttons */
.cta-btn .wp-block-button__link,
.wp-block-button__link {
    background: var(--gradient-primary) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-color), 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cta-btn .wp-block-button__link:hover,
.wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color), 0 4px 10px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-title {
    color: var(--text-primary);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    margin-bottom: 3rem;
}

/* Flat Cards with Hover Shadow */
.benefit-card,
.wp-block-column {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15), 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

.benefit-card h3 {
    color: var(--secondary-color);
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

/* Blog Posts */
.wp-block-post {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.wp-block-post:hover {
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    border-color: var(--accent-color);
}

.wp-block-post-title a {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.wp-block-post-title a:hover {
    color: var(--primary-color) !important;
}

.wp-block-post-excerpt {
    color: var(--text-secondary);
}

.wp-block-post-date {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    margin: 4rem 0;
    text-align: center;
}

/* Footer */
footer {
    background: var(--background-white);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Site Title */
.wp-block-site-title a {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Lists */
ul, ol {
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.75rem;
}

li strong {
    color: var(--text-primary);
}

/* Separator */
hr,
.wp-block-separator {
    border: none;
    height: 2px;
    background: var(--gradient-primary);
    margin: 3rem 0;
    opacity: 0.3;
    border-radius: 1px;
}

/* Contact Form */
.wpcf7-form {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'SUIT Variable', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.wpcf7-form input[type="submit"] {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SUIT Variable', sans-serif;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.wpcf7-form label {
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .cta-btn .wp-block-button__link {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-element {
        animation: none;
    }
    
    body::before,
    body::after {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Blockquote */
blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 2rem 0;
    background: var(--background-accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th, td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background: var(--background-accent);
    color: var(--text-primary);
    font-weight: 600;
}

td {
    background: var(--background-white);
    color: var(--text-secondary);
}

/* Images */
.wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Strong text */
strong {
    color: var(--text-primary);
    font-weight: 600;
}
