/* ==================== Home Dashboard Styles ==================== */

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 32px;
}

.welcome-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.welcome-section p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Creation Tabs */
.creation-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.creation-tab {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.creation-tab.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.creation-tab.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--panel-bg);
}

.creation-tab .badge {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.creation-tab.active .badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Card */
.main-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
    margin-bottom: 48px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.main-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Input Area */
.input-area {
    margin-bottom: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-textarea {
    width: 100%;
    flex: 1;
    min-height: 200px;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    font-family: inherit;
    background: transparent;
    resize: none;
    outline: none;
    margin-bottom: 24px;
}

.home-textarea:focus {
    box-shadow: none;
}

.home-textarea::placeholder {
    color: #9ca3af;
    font-weight: 300;
}

/* Preset Buttons */
.preset-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.preset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    background: var(--panel-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.preset-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.preset-btn svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Controls Area */
.controls-area {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.control-item:hover {
    border-color: var(--primary-color);
}

.controls-left .control-item > .icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.control-select-transparent {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    padding-right: 4px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.generate-btn-pill {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.generate-btn-pill:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.generate-btn-pill:active {
    transform: translateY(0);
}

.generate-btn-pill:disabled,
.generate-btn-pill.loading,
.generate-btn-pill.disabled {
    background: linear-gradient(135deg, #c9b8f0 0%, #b8a6e8 100%) !important;
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Voice Recommendations */
.voice-recommendations {
    margin-top: 48px;
}

.voice-recommendations .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.voice-recommendations h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.explore-more {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.explore-more:hover {
    color: var(--primary-color);
}

/* Voice Grid Horizontal */
.voice-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.voice-recommendation-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 200px;
}

.voice-recommendation-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.voice-art-card {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.voice-wave-art {
    width: 100%;
    height: 100%;
}

.play-btn-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: none;
}

.voice-recommendation-item:hover .play-btn-overlay {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    color: var(--primary-color);
}

.voice-meta {
    padding: 4px;
}

.voice-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.voice-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.voice-tag {
    font-size: 11px;
    padding: 3px 8px;
    background: var(--panel-bg);
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Audio Tools Section */
.audio-tools-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tool-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    transition: transform 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
}

.tool-card.purple-gradient {
    background: linear-gradient(135deg, #f3e8ff 0%, #e0e7ff 100%);
}

.tool-card.blue-gradient {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.tool-card-content {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.tool-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 24px;
    z-index: 2;
}

.tool-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tool-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.try-now-btn {
    align-self: flex-start;
    padding: 8px 16px;
    border: 1px solid var(--text-primary);
    border-radius: 20px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.try-now-btn:hover {
    background: var(--text-primary);
    color: white;
}

.tool-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visual Clone */
.visual-clone {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.wave-box {
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.wave-box.purple {
    background: #c084fc;
    color: white;
}

.wave-box.dark {
    background: #4b5563;
    color: white;
}

.play-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 10px;
}

.arrow-connector {
    width: 2px;
    height: 20px;
    background: #d1d5db;
    position: relative;
}

.arrow-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #d1d5db;
}

/* Visual Design */
.visual-design {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 200px;
}

.chat-bubble {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chat-bubble.user {
    background: white;
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: white;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-bubble.ai::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #818cf8;
    border-radius: 50%;
}

/* Visual Clone Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.visual-clone .wave-box {
    animation: float 3s ease-in-out infinite;
}

.visual-clone .wave-box:nth-child(2) {
    animation-delay: 1.5s;
}

/* ==================== Voice Recommendation Cards ==================== */
.voice-rec-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voice-rec-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.voice-rec-icon {
    font-size: 24px;
    line-height: 1;
}

.voice-rec-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.voice-rec-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.voice-rec-name {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== Home Sample Cards (Premium Audio Design) ==================== */
.voice-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.home-sample-card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-sample-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.home-sample-card:hover .sample-visual {
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.home-sample-card:hover .sample-visual::before {
    opacity: 1;
}

.home-sample-card:hover .sample-play-btn {
    opacity: 1;
    transform: scale(1);
}

/* Visual Container - Glassmorphism base */
.sample-visual {
    aspect-ratio: 1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Subtle gradient overlay on hover */
.sample-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.03) 0%,
        rgba(168, 85, 247, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Pattern Container */
.sample-pattern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== Pattern 1: Waveform (Storytelling) - Organic flowing bars ====== */
.pattern-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 55%;
    width: 70%;
}

.pattern-waveform .wave-bar {
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(
        180deg,
        #6366f1 0%,
        #8b5cf6 50%,
        #a78bfa 100%
    );
    animation: wave-organic 1.8s ease-in-out infinite;
    transform-origin: center bottom;
}

.pattern-waveform .wave-bar:nth-child(1) { height: 35%; animation-delay: 0s; }
.pattern-waveform .wave-bar:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.pattern-waveform .wave-bar:nth-child(3) { height: 75%; animation-delay: 0.2s; }
.pattern-waveform .wave-bar:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.pattern-waveform .wave-bar:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.pattern-waveform .wave-bar:nth-child(6) { height: 60%; animation-delay: 0.5s; }
.pattern-waveform .wave-bar:nth-child(7) { height: 40%; animation-delay: 0.6s; }

@keyframes wave-organic {
    0%, 100% { 
        transform: scaleY(1) translateY(0);
        opacity: 0.85;
    }
    50% { 
        transform: scaleY(0.5) translateY(4px);
        opacity: 0.6;
    }
}

/* ====== Pattern 2: Burst (Commercial) - Radiant sunburst ====== */
.pattern-burst {
    width: 65%;
    height: 65%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-burst::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        #6366f1 0deg,
        transparent 15deg,
        #8b5cf6 30deg,
        transparent 45deg,
        #a78bfa 60deg,
        transparent 75deg,
        #6366f1 90deg,
        transparent 105deg,
        #8b5cf6 120deg,
        transparent 135deg,
        #a78bfa 150deg,
        transparent 165deg,
        #6366f1 180deg,
        transparent 195deg,
        #8b5cf6 210deg,
        transparent 225deg,
        #a78bfa 240deg,
        transparent 255deg,
        #6366f1 270deg,
        transparent 285deg,
        #8b5cf6 300deg,
        transparent 315deg,
        #a78bfa 330deg,
        transparent 345deg,
        #6366f1 360deg
    );
    border-radius: 50%;
    opacity: 0.7;
    animation: burst-spin 25s linear infinite;
}

.pattern-burst::after {
    content: '';
    position: absolute;
    width: 45%;
    height: 45%;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(99, 102, 241, 0.1);
}

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

/* ====== Pattern 3: Dots (Creative) - Staggered grid ====== */
.pattern-dots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 55%;
    height: 55%;
    transform: rotate(-5deg);
}

.pattern-dots .dot {
    aspect-ratio: 1;
    border-radius: 50%;
    background: #a78bfa;
    animation: dot-breathe 2.5s ease-in-out infinite;
}

.pattern-dots .dot:nth-child(1) { background: #6366f1; animation-delay: 0s; }
.pattern-dots .dot:nth-child(2) { background: #8b5cf6; animation-delay: 0.2s; }
.pattern-dots .dot:nth-child(3) { background: #a78bfa; animation-delay: 0.4s; }
.pattern-dots .dot:nth-child(4) { background: #c4b5fd; animation-delay: 0.6s; }
.pattern-dots .dot:nth-child(5) { background: #c4b5fd; animation-delay: 0.1s; }
.pattern-dots .dot:nth-child(6) { background: #a78bfa; animation-delay: 0.3s; }
.pattern-dots .dot:nth-child(7) { background: #8b5cf6; animation-delay: 0.5s; }
.pattern-dots .dot:nth-child(8) { background: #6366f1; animation-delay: 0.7s; }
.pattern-dots .dot:nth-child(9) { background: #8b5cf6; animation-delay: 0.15s; }
.pattern-dots .dot:nth-child(10) { background: #6366f1; animation-delay: 0.35s; }
.pattern-dots .dot:nth-child(11) { background: #c4b5fd; animation-delay: 0.55s; }
.pattern-dots .dot:nth-child(12) { background: #a78bfa; animation-delay: 0.75s; }
.pattern-dots .dot:nth-child(13) { background: #a78bfa; animation-delay: 0.25s; }
.pattern-dots .dot:nth-child(14) { background: #c4b5fd; animation-delay: 0.45s; }
.pattern-dots .dot:nth-child(15) { background: #6366f1; animation-delay: 0.65s; }
.pattern-dots .dot:nth-child(16) { background: #8b5cf6; animation-delay: 0.85s; }

@keyframes dot-breathe {
    0%, 100% { 
        transform: scale(0.7);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* ====== Pattern 4: Circles (Dialogue) - Sound wave ripples ====== */
.pattern-circles {
    width: 70%;
    height: 70%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-circles .circle {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: ripple-out 3s ease-out infinite;
}

.pattern-circles .circle:nth-child(1) { 
    width: 25%; height: 25%; 
    border-color: #6366f1;
    animation-delay: 0s;
}
.pattern-circles .circle:nth-child(2) { 
    width: 50%; height: 50%; 
    border-color: #8b5cf6;
    animation-delay: 0.4s;
}
.pattern-circles .circle:nth-child(3) { 
    width: 75%; height: 75%; 
    border-color: #a78bfa;
    animation-delay: 0.8s;
}
.pattern-circles .circle:nth-child(4) { 
    width: 100%; height: 100%; 
    border-color: #c4b5fd;
    animation-delay: 1.2s;
}

.pattern-circles .center-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@keyframes ripple-out {
    0% { 
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% { 
        transform: scale(1.1);
        opacity: 0;
    }
}

/* ====== Pattern 5: Zigzag (Education) - Flowing streams ====== */
.pattern-zigzag {
    width: 75%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    overflow: hidden;
}

.pattern-zigzag .zigzag-line {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        #6366f1 0%,
        #8b5cf6 25%,
        #a78bfa 50%,
        #8b5cf6 75%,
        #6366f1 100%
    );
    background-size: 200% 100%;
    animation: stream-flow 3s ease-in-out infinite;
}

.pattern-zigzag .zigzag-line:nth-child(1) {
    width: 100%;
    animation-delay: 0s;
}

.pattern-zigzag .zigzag-line:nth-child(2) {
    width: 80%;
    margin-left: 10%;
    animation-delay: -0.5s;
    opacity: 0.75;
}

.pattern-zigzag .zigzag-line:nth-child(3) {
    width: 60%;
    margin-left: 20%;
    animation-delay: -1s;
    opacity: 0.5;
}

@keyframes stream-flow {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

/* ====== Play Button - Minimalist dark style ====== */
.sample-play-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.sample-play-btn svg {
    width: 14px;
    height: 14px;
    fill: white;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.sample-play-btn:hover {
    background: rgba(99, 102, 241, 0.95);
    transform: scale(1.08);
    border-color: rgba(99, 102, 241, 0.5);
}

.sample-play-btn:hover svg {
    transform: scale(1.1);
}

.sample-play-btn:active {
    transform: scale(0.95);
}

.sample-play-btn.playing {
    opacity: 1;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.sample-play-btn.playing svg {
    margin-left: 0;
}

/* ====== Card Info Section ====== */
.sample-info {
    padding: 14px 2px 4px;
}

.sample-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: -0.01em;
}

.sample-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sample-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 6px;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.sample-tag:first-child {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #6366f1;
}

.home-sample-card:hover .sample-tag:first-child {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}
