Files
ai-podcast/website/css/style.css
tcpsyn bd6c8ccbab Landing page: testimonials slider, how-it-works page, 25 TTS voices
- Add testimonial slider with 8 fake caller reviews
- Add how-it-works page with visual architecture diagram
- Expand voice pools: Inworld 25 voices (14M/11F), ElevenLabs 22 (14M/8F)
- Voice pools auto-switch when TTS provider changes
- Add cover art locally, update cache-busted image refs
- Add "More from Luke" footer links (MMG, prints, YouTube)
- Ad channel configurable in settings UI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:34:30 -07:00

855 lines
13 KiB
CSS

:root {
--bg: #1a1209;
--bg-light: #2a2015;
--accent: #e8791d;
--accent-hover: #f59a4a;
--accent-red: #cc2222;
--text: #f5f0e5;
--text-muted: #9a8b78;
--radius: 12px;
--radius-sm: 8px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
color: var(--accent-hover);
}
/* Banner */
.banner {
width: 100%;
overflow: hidden;
}
.banner-img {
width: 100%;
height: auto;
display: block;
}
/* Hero */
.hero {
padding: 3rem 1.5rem 2rem;
max-width: 900px;
margin: 0 auto;
text-align: center;
}
.hero-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
.cover-art {
width: 220px;
height: 220px;
border-radius: var(--radius);
box-shadow: 0 8px 32px rgba(232, 121, 29, 0.35);
object-fit: cover;
}
.hero-info {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
}
.hero h1 {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -0.02em;
}
.tagline {
font-size: 1.15rem;
color: var(--text-muted);
max-width: 400px;
}
.phone {
margin-top: 0.5rem;
}
.phone-number {
font-size: 2.2rem;
font-weight: 800;
color: var(--accent);
letter-spacing: 0.02em;
display: block;
}
.phone-digits {
font-size: 0.95rem;
color: var(--text-muted);
}
.phone-label {
font-size: 0.85rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.15em;
margin-bottom: 0.25rem;
}
/* Subscribe buttons */
.subscribe-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.75rem;
margin-top: 1.5rem;
}
.subscribe-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1.25rem;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 600;
color: #fff;
transition: opacity 0.2s, transform 0.2s;
}
.subscribe-btn:hover {
opacity: 0.85;
transform: translateY(-1px);
color: #fff;
}
.subscribe-btn svg {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.btn-hiw { background: var(--accent); }
.btn-spotify { background: #1DB954; }
.btn-youtube { background: #FF0000; }
.btn-apple { background: #A033FF; }
.btn-rss { background: #f26522; }
/* Episodes */
.episodes-section {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem 3rem;
}
.episodes-section h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
font-weight: 700;
}
.episodes-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.episode-card {
background: var(--bg-light);
border-radius: var(--radius);
padding: 1.25rem;
display: flex;
gap: 1rem;
align-items: flex-start;
transition: background 0.2s;
}
.episode-card:hover {
background: #352a1c;
}
.episode-play-btn {
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--accent);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: background 0.2s, transform 0.2s;
}
.episode-play-btn:hover {
background: var(--accent-hover);
transform: scale(1.05);
}
.episode-play-btn svg {
width: 20px;
height: 20px;
fill: #fff;
}
.episode-play-btn.playing svg {
/* pause icon swap handled by JS */
}
.episode-info {
flex: 1;
min-width: 0;
}
.episode-meta {
display: flex;
gap: 1rem;
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: 0.35rem;
}
.episode-title {
font-size: 1.05rem;
font-weight: 600;
margin-bottom: 0.35rem;
}
.episode-desc {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.5;
}
.episodes-loading {
text-align: center;
color: var(--text-muted);
padding: 2rem 0;
}
.episodes-error {
text-align: center;
color: var(--accent);
padding: 2rem 0;
}
/* Testimonials */
.testimonials-section {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem 3rem;
}
.testimonials-section h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
font-weight: 700;
text-align: center;
}
.testimonials-slider {
overflow: hidden;
position: relative;
}
.testimonials-track {
display: flex;
transition: transform 0.5s ease;
will-change: transform;
}
.testimonial-card {
flex: 0 0 100%;
max-width: 100%;
padding: 0 0.5rem;
box-sizing: border-box;
}
.testimonial-inner {
background: var(--bg-light);
border-radius: var(--radius);
padding: 1.5rem;
border-left: 3px solid var(--accent);
overflow: hidden;
}
.testimonial-stars {
color: var(--accent);
font-size: 1.2rem;
letter-spacing: 2px;
margin-bottom: 1rem;
}
.testimonial-text {
font-size: 1.05rem;
line-height: 1.7;
color: var(--text);
margin-bottom: 1.25rem;
font-style: italic;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
}
.testimonial-author {
display: flex;
align-items: center;
gap: 0.75rem;
}
.testimonial-name {
font-weight: 700;
font-size: 0.95rem;
color: var(--text);
}
.testimonial-location {
font-size: 0.85rem;
color: var(--text-muted);
}
.testimonial-location::before {
content: "\2014 ";
}
.testimonials-dots {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-top: 1.5rem;
}
.testimonial-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-muted);
opacity: 0.4;
border: none;
cursor: pointer;
padding: 0;
transition: opacity 0.3s, background 0.3s, transform 0.3s;
}
.testimonial-dot:hover {
opacity: 0.7;
}
.testimonial-dot.active {
background: var(--accent);
opacity: 1;
transform: scale(1.3);
}
/* Sticky Player */
.sticky-player {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #150f06;
border-top: 1px solid #333;
padding: 0.75rem 1.5rem;
display: none;
z-index: 100;
}
.sticky-player.active {
display: block;
}
.player-inner {
max-width: 900px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 1rem;
}
.player-play-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--accent);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.player-play-btn:hover {
background: var(--accent-hover);
}
.player-play-btn svg {
width: 18px;
height: 18px;
fill: #fff;
}
.player-info {
flex: 1;
min-width: 0;
}
.player-title {
font-size: 0.85rem;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.player-progress-row {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.25rem;
}
.player-progress {
flex: 1;
height: 4px;
background: #333;
border-radius: 2px;
cursor: pointer;
position: relative;
}
.player-progress-fill {
height: 100%;
background: var(--accent);
border-radius: 2px;
width: 0%;
transition: width 0.1s linear;
}
.player-time {
font-size: 0.75rem;
color: var(--text-muted);
white-space: nowrap;
min-width: 80px;
text-align: right;
}
/* Footer */
.footer {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem 10rem;
text-align: center;
color: var(--text-muted);
font-size: 0.85rem;
border-top: 1px solid #2a2015;
}
.footer-links {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-bottom: 0.75rem;
}
.footer-links a {
color: var(--text-muted);
}
.footer-links a:hover {
color: var(--text);
}
.footer-projects {
margin: 1.25rem 0;
padding: 1rem 0;
border-top: 1px solid #2a2015;
border-bottom: 1px solid #2a2015;
}
.footer-projects-label {
display: block;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.15em;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.footer-projects-links {
display: flex;
justify-content: center;
gap: 1.5rem;
}
.footer-projects-links a {
color: var(--text-muted);
font-size: 0.85rem;
transition: color 0.2s;
}
.footer-projects-links a:hover {
color: var(--accent);
}
.footer-contact {
margin-bottom: 0.75rem;
}
.footer-contact a {
color: var(--accent);
}
.footer-contact a:hover {
color: var(--accent-hover);
}
/* Page Nav */
.page-nav {
max-width: 900px;
margin: 0 auto;
padding: 1.25rem 1.5rem;
}
.nav-home {
font-weight: 700;
font-size: 1rem;
color: var(--text);
}
.nav-home:hover {
color: var(--accent);
}
/* Page Header */
.page-header {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem 1rem;
text-align: center;
}
.page-header h1 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 0.75rem;
}
.page-subtitle {
font-size: 1.15rem;
color: var(--text-muted);
max-width: 550px;
margin: 0 auto;
}
/* How It Works */
.hiw-section {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem;
}
.hiw-section h2 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
text-align: center;
}
/* Diagram */
.hiw-hero-card {
background: var(--bg-light);
border-radius: var(--radius);
padding: 2rem;
}
.hiw-diagram {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
}
.diagram-row {
display: flex;
justify-content: center;
gap: 1rem;
width: 100%;
}
.diagram-row-split {
flex-wrap: wrap;
}
.diagram-box {
background: var(--bg);
border: 1px solid #3a3020;
border-radius: var(--radius-sm);
padding: 1rem 1.25rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
min-width: 100px;
text-align: center;
font-size: 0.85rem;
font-weight: 600;
}
.diagram-box.diagram-accent {
border-color: var(--accent);
box-shadow: 0 0 12px rgba(232, 121, 29, 0.15);
}
.diagram-icon {
width: 28px;
height: 28px;
color: var(--accent);
}
.diagram-icon svg {
width: 100%;
height: 100%;
}
.diagram-arrow {
font-size: 1.5rem;
color: var(--text-muted);
line-height: 1;
}
/* Steps */
.hiw-steps {
display: flex;
flex-direction: column;
gap: 2rem;
}
.hiw-step {
display: flex;
gap: 1.25rem;
align-items: flex-start;
}
.hiw-step-number {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--accent);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 1.1rem;
flex-shrink: 0;
}
.hiw-step-content {
flex: 1;
min-width: 0;
}
.hiw-step-content h3 {
font-size: 1.15rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.hiw-step-content p {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.7;
}
.hiw-detail-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin-top: 1rem;
}
.hiw-detail {
background: var(--bg-light);
border-radius: var(--radius-sm);
padding: 0.75rem 1rem;
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.hiw-detail-label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.hiw-detail-value {
font-size: 1.1rem;
font-weight: 700;
color: var(--accent);
}
.hiw-split-stat {
display: flex;
gap: 1.5rem;
margin-top: 1rem;
}
.hiw-stat {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.hiw-stat-number {
font-size: 1.5rem;
font-weight: 800;
color: var(--accent);
}
.hiw-stat-label {
font-size: 0.8rem;
color: var(--text-muted);
}
/* Features */
.hiw-features {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.hiw-feature {
background: var(--bg-light);
border-radius: var(--radius);
padding: 1.5rem;
}
.hiw-feature-icon {
width: 32px;
height: 32px;
color: var(--accent);
margin-bottom: 0.75rem;
}
.hiw-feature-icon svg {
width: 100%;
height: 100%;
}
.hiw-feature h3 {
font-size: 1.05rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.hiw-feature p {
font-size: 0.9rem;
color: var(--text-muted);
line-height: 1.6;
}
/* CTA */
.hiw-cta {
text-align: center;
padding: 3rem 1.5rem;
}
.hiw-cta p {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hiw-cta-btn {
display: inline-block;
background: var(--accent);
color: #fff;
padding: 0.75rem 2rem;
border-radius: 50px;
font-weight: 700;
font-size: 1rem;
transition: background 0.2s, transform 0.2s;
}
.hiw-cta-btn:hover {
background: var(--accent-hover);
color: #fff;
transform: translateY(-1px);
}
.hiw-cta-phone {
margin-top: 1rem;
color: var(--text-muted);
font-size: 0.95rem;
}
.hiw-cta-phone strong {
color: var(--accent);
}
/* Desktop */
@media (min-width: 768px) {
.hero {
padding: 4rem 2rem 2.5rem;
}
.hero-inner {
flex-direction: row;
text-align: left;
gap: 3rem;
}
.hero-info {
align-items: flex-start;
}
.cover-art {
width: 260px;
height: 260px;
}
.subscribe-row {
justify-content: flex-start;
}
.episodes-section {
padding: 2rem 2rem 3rem;
}
.hiw-section {
padding: 2.5rem 2rem;
}
.hiw-features {
grid-template-columns: repeat(3, 1fr);
}
.hiw-detail-grid {
grid-template-columns: repeat(4, 1fr);
}
.diagram-row-split {
flex-wrap: nowrap;
}
}