:root {
    --primary: #6c5ce7;
    --primary-dark: #4834d4;
    --secondary: #fbc531;
    --accent: #00d2d3;
    --dark: #2d3436;
    --light: #f5f6fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 20s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -50px;
    left: -100px;
    animation: float 25s infinite alternate-reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 40%;
    left: 30%;
    animation: float 15s infinite;
}

@keyframes float {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 100px); }
}

/* Decorative Geometric Shapes */
.deco-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.circle {
    border-radius: 50%;
}

.ring {
    border: 15px solid rgba(108, 92, 231, 0.1);
    background: transparent;
}

.shape-yellow { border-color: rgba(251, 197, 49, 0.4); }
.shape-cyan { border-color: rgba(0, 210, 211, 0.4); }
.shape-purple { border-color: rgba(108, 92, 231, 0.4); }

.dots {
    display: grid;
    grid-template-columns: repeat(5, 12px);
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 50%;
}

.float-anim {
    animation: float-deco 6s infinite alternate ease-in-out;
}

.spin-anim {
    animation: spin 20s infinite linear;
}

@keyframes float-deco {
    from { transform: translateY(0) rotate(0); }
    to { transform: translateY(-30px) rotate(15deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 15px 0;
}

section {
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    color: var(--white);
    border-radius: 0 0 60px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -50%;
    left: -50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 210, 211, 0.4);
    display: inline-block;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(251, 197, 49, 0.2);
    display: inline-block;
}

.btn-full-secondary {
    width: 100%;
    background: var(--secondary);
    color: var(--dark);
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-primary:active, .btn-secondary:active, .btn-full-secondary:active {
    transform: scale(0.95);
}

.hero-visual {
    position: relative;
}

.shape-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--white);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morphing 10s infinite;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

@keyframes morphing {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.shape-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.about-visual img {
    width: 100%;
    border-radius: 30px;
}

.section-label {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.label-secondary {
    color: var(--secondary) !important;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.about-content p {
    color: #636e72;
    margin-bottom: 40px;
}

/* Services */
.services {
    background: #fdfdfd;
    padding: 120px 0;
}

.services-header {
    max-width: 600px;
    margin-bottom: 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--primary);
    color: var(--white);
    border-radius: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.quote-card {
    background: var(--white);
    color: var(--dark);
    padding: 60px;
    border-radius: 40px;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.text-small-muted {
    font-size: 0.9rem;
    color: #95a5a6;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid var(--white);
    margin-bottom: 20px;
}

/* Contact */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #636e72;
}

.contact-form-container {
    background: var(--light);
    padding: 40px;
    border-radius: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px;
    border-radius: 15px;
    border: 2px solid var(--light);
    background: var(--light);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.9rem;
    color: #95a5a6;
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero-content h1 { font-size: 3.5rem; }
    .about-grid, .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 120px 0 80px; }
    .hero-content h1 { font-size: 2.8rem; }
    .about-content h2 { font-size: 2.2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* Board Styles */
.board-page {
    background: #fdfdfd;
}

.board-container {
    padding-top: 140px;
}

.board-hero {
    text-align: center;
    margin-bottom: 60px;
}

.board-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.board-hero p {
    font-size: 1.1rem;
    color: #636e72;
}

.board-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.board-list-wrapper {
    background: var(--white);
    border-radius: 40px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--light);
}

.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th, .board-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
}

.board-table th {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.col-id { width: 80px; text-align: center !important; }
.col-title { font-weight: 600; color: var(--dark); cursor: pointer; }
.col-author { width: 120px; }
.col-date { width: 150px; text-align: right !important; color: #95a5a6; font-size: 0.9rem; }

.board-table tr:hover td {
    background: #fcfcfc;
}

.empty-msg {
    text-align: center !important;
    padding: 60px !important;
    color: #95a5a6;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--white);
    margin: 8% auto;
    padding: 60px;
    width: 90%;
    max-width: 700px;
    border-radius: 60px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

.modal-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    cursor: pointer;
    background: none;
    border: none;
}

.modal-footer {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-cancel {
    background: #eee;
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .board-hero h1 { font-size: 2.5rem; }
    .col-author, .col-date { display: none; }
    .modal-content { padding: 40px; margin: 15% auto; }
}


/* Detailed View Styles */
.post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #95a5a6;
}

.post-body {
    min-height: 200px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 40px;
}

.btn-danger {
    background: #ff7675;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 40px;
    font-weight: 700;
}

.btn-danger:hover {
    background: #d63031;
    box-shadow: 0 10px 20px rgba(214, 48, 49, 0.3);
}

#detail-content-display {
    white-space: pre-wrap; /* ÁÙ¹Ù²Þ À¯Áö */
}


/* =============================================
   BENTO + GLASS HYBRID DESIGN SYSTEM
   ============================================= */

:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #a855f7 100%);
}

.board-page {
    background: #f0f2f5;
    background-image: 
        radial-gradient(at 0% 0%, rgba(108, 92, 231, 0.15) 0, transparent 50%), 
        radial-gradient(at 50% 0%, rgba(251, 197, 49, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 210, 211, 0.15) 0, transparent 50%);
    min-height: 100vh;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 25px;
    padding: 20px 0;
}

/* Glass Bento Card */
.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: " \;
 position: absolute;
 top: 0; left: 0; width: 100%; height: 6px;
 background: var(--accent-gradient);
 opacity: 0;
 transition: opacity 0.3s;
}

.bento-card:hover {
 transform: translateY(-10px) scale(1.02);
 box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
 background: rgba(255, 255, 255, 0.6);
}

.bento-card:hover::before {
 opacity: 1;
}

/* Card Variations (Bento Magic) */
.card-large { grid-column: span 2; grid-row: span 2; }
.card-wide { grid-column: span 2; }

.card-title {
 font-size: 1.4rem;
 font-weight: 800;
 color: var(--dark);
 margin-bottom: 15px;
 line-height: 1.3;
}

.card-excerpt {
 color: #636e72;
 font-size: 1rem;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
 margin-bottom: 20px;
}

.card-footer {
 display: flex;
 justify-content: space-between;
 align-items: center;
 border-top: 1px solid rgba(0,0,0,0.05);
 padding-top: 15px;
 font-size: 0.85rem;
 color: #95a5a6;
}

.author-chip {
 background: var(--primary);
 color: white;
 padding: 4px 12px;
 border-radius: 20px;
 font-weight: 600;
}

/* Write Button Floating Effect */
#btn-write {
 padding: 18px 35px;
 border-radius: 50px;
 font-size: 1.1rem;
 letter-spacing: 0.5px;
 box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
}

#btn-write:hover {
 background: var(--primary-dark);
 transform: scale(1.05);
}

