@charset "UTF-8";

/* ==========================================================================
   Variables & Theme
   ========================================================================== */
:root {
    /* Color Palette - Spec: Salon Post Creator */
    --color-primary: #E6A4B4;
    /* Soft Pink */
    --color-primary-dark: #d88ea0;
    --color-secondary: #F3D7CA;
    /* Beige */
    --color-accent: #D4AF37;
    /* Gold */
    --color-bg: #FAF9F6;
    /* Off White */
    --color-surface: #FFFFFF;
    /* White */
    --color-text-main: #4A4A4A;
    /* Dark Grey */
    --color-text-light: #888888;
    --color-link: #E6A4B4;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #DFBD69 0%, #D4AF37 50%, #B4941F 100%);
    --gradient-soft: linear-gradient(135deg, #FFF0F5 0%, #FFF8F0 100%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-logo: "Shizuru", system-ui;

    /* Spacing & Layout */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-base: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.main-content {
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
}

/* ==========================================================================
   Components: Navbar
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 164, 180, 0.2);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .navbar-brand {
    font-family: var(--font-logo);
    font-style: normal;
    font-size: 1.5rem;
    color: var(--color-text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .navbar-brand i {
    color: var(--color-primary);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background-color: rgba(230, 164, 180, 0.1);
}

/* ==========================================================================
   Components: Cards
   ========================================================================== */
.card {
    background: var(--color-surface);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.card-body {
    padding: var(--spacing-lg);
}

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
.btn {
    border-radius: 50px;
    /* Pill shape for elegance */
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(230, 164, 180, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 164, 180, 0.6);
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-gold {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   Utilities & Animations
   ========================================================================== */
.text-primary {
    color: var(--color-primary) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism helpers */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
}

/* Custom Dashboard Widgets */
.stat-card {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: white;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
}

/* ==========================================================================
   Premium Action Cards - Ultra Dynamic Design
   ========================================================================== */
.premium-action-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* 背景画像レイヤー - ズーム効果用 */
.premium-action-card .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

.premium-action-card:hover .bg-image {
    transform: scale(1.15);
}

/* シャイン（光沢）エフェクト */
.premium-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    transition: 0.8s;
    z-index: 5;
}

.premium-action-card:hover::before {
    left: 150%;
}

.premium-action-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(230, 164, 180, 0.5),
        0 0 60px rgba(230, 164, 180, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.3) inset;
}

.premium-action-card.gold-theme:hover {
    box-shadow:
        0 30px 80px rgba(212, 175, 55, 0.4),
        0 0 60px rgba(212, 175, 55, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.3) inset;
}

/* オーバーレイ - 下部グラデーションで画像を見せる */
.premium-action-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(230, 164, 180, 0.7) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.premium-action-card.gold-theme .card-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(139, 115, 85, 0.75) 100%);
}

.premium-action-card:hover .card-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(230, 164, 180, 0.85) 100%);
}

.premium-action-card.gold-theme:hover .card-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(139, 115, 85, 0.85) 100%);
}

/* コンテンツ - 左下配置でミニマルに */
.premium-action-card .card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: 2rem 2.5rem;
    color: white;
}

/* テキスト背景 - 読みやすさ向上 */
.premium-action-card .card-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 100%);
    z-index: -1;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* タイトル - 大きくインパクトがあり読みやすく */
.premium-action-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
    line-height: 1.3;
}

.premium-action-card:hover h3 {
    transform: translateX(8px);
}

.premium-action-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    max-width: 280px;
    line-height: 1.5;
}

.premium-action-card:hover p {
    transform: translateX(8px);
}

/* 矢印 - 常時表示 */
.premium-action-card .card-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.premium-action-card .card-arrow i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.premium-action-card:hover .card-arrow {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: translateX(8px);
}

.premium-action-card:hover .card-arrow i {
    animation: arrow-pulse 0.8s ease infinite;
}

@keyframes arrow-pulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .premium-action-card {
        height: 240px;
    }

    .premium-action-card .card-content {
        padding: 1.5rem;
    }

    .premium-action-card h3 {
        font-size: 1.8rem;
    }

    .premium-action-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .premium-action-card .card-arrow {
        width: 48px;
        height: 48px;
    }
}