:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --navbar-height: 60px;
    
    /* Pi.stream Brand Colors */
    --pi-purple: #6f42c1;
    --pi-gold: #ffd700;
    --pi-dark-purple: #5a32a3;
    --pi-light-gold: #ffed4e;
}

body {
    background-color: #f5f5f5;
    padding-top: var(--navbar-height);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-content {
    min-height: calc(100vh - var(--navbar-height));
}

/* Page Management */
.page {
    display: none;
    padding: 2rem 0;
}

.page.active {
    display: block;
}

/* Landing Page Styles */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.feature-stat h3 {
    font-size: 2rem;
    font-weight: bold;
}

.hero-video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video-container:hover .video-overlay {
    opacity: 1;
}

.features-section {
    background: white;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Dashboard Styles */
.stream-preview-container {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
}

.stream-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stream-status .badge {
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stat-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.stat-item:last-child {
    border-bottom: none;
}

/* Plugin Styles */
.plugin-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.plugin-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.plugin-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.plugin-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.plugin-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plugin-enabled {
    border-left: 4px solid var(--success-color);
}

.plugin-disabled {
    border-left: 4px solid var(--secondary-color);
    opacity: 0.7;
}

/* Simulcast Styles */
.simulcast-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.simulcast-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-youtube { background: #ff0000; }
.platform-facebook { background: #1877f2; }
.platform-twitch { background: #9146ff; }
.platform-twitter { background: #1da1f2; }

.status-connected {
    color: var(--success-color);
}

.status-disconnected {
    color: var(--danger-color);
}

/* Analytics Styles */
.analytics-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.analytics-card-body {
    padding: 1.5rem;
}

.analytics-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.country-item:last-child {
    border-bottom: none;
}

.country-progress {
    width: 60px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-left: 1rem;
}

.country-progress-bar {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-video-container {
        margin-top: 2rem;
    }
    
    .analytics-card-body {
        padding: 1rem;
    }
    
    .plugin-header,
    .plugin-body {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

/* Loading Animations */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Monetization Styles */
.revenue-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.revenue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.revenue-card-body {
    padding: 1.5rem;
}

.revenue-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.payment-method-setup {
    padding: 1rem 0;
}

.tool-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.tool-item:hover {
    background: #e9ecef;
}

.subscription-tier {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-tier:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.subscription-tier.featured {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.subscription-tier.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.tier-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* VR Stars Lights Tier Styling */
.subscription-tier.vr-stars {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d1b69 100%);
    border: 2px solid #ffd700;
    color: white;
    position: relative;
    overflow: hidden;
}

.subscription-tier.vr-stars::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="white" opacity="0.8"/><circle cx="30" cy="20" r="0.5" fill="white" opacity="0.6"/><circle cx="60" cy="15" r="1.2" fill="white" opacity="0.9"/><circle cx="80" cy="25" r="0.8" fill="white" opacity="0.7"/><circle cx="20" cy="40" r="0.6" fill="white" opacity="0.5"/><circle cx="50" cy="35" r="1.1" fill="white" opacity="0.8"/><circle cx="90" cy="45" r="0.9" fill="white" opacity="0.6"/><circle cx="15" cy="70" r="1.3" fill="white" opacity="0.9"/><circle cx="40" cy="60" r="0.7" fill="white" opacity="0.7"/><circle cx="70" cy="65" r="1" fill="white" opacity="0.8"/><circle cx="85" cy="75" r="0.5" fill="white" opacity="0.6"/><circle cx="25" cy="85" r="0.8" fill="white" opacity="0.5"/><circle cx="55" cy="90" r="1.2" fill="white" opacity="0.9"/></svg>') repeat;
    animation: starTwinkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.subscription-tier.vr-stars .tier-content {
    position: relative;
    z-index: 1;
}

.subscription-tier.vr-stars h5 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscription-tier.vr-stars h5::before {
    content: '✨';
    font-size: 1.2em;
}

.subscription-tier.vr-stars .tier-price {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 10px;
    backdrop-filter: blur(5px);
}

.subscription-tier.vr-stars .tier-price .price {
    color: #ffd700;
}

.subscription-tier.vr-stars .tier-price .currency {
    color: #ffd700;
}

.vr-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: bold;
    text-align: center;
}

.tier-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    font-style: italic;
}

/* Champion Tier Styling */
.subscription-tier.champion {
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
    border: 2px solid #11998e;
    color: white;
}

.subscription-tier.champion h5 {
    color: #11998e;
    text-shadow: 0 0 8px rgba(17, 153, 142, 0.5);
}

.subscription-tier.champion h5::before {
    content: '🏆';
    margin-right: 8px;
}

.subscription-tier.champion .tier-price .price,
.subscription-tier.champion .tier-price .currency {
    color: #11998e;
}

/* Superstar Tier Styling */
.subscription-tier.superstar {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ffa502 100%);
    border: 3px solid #ffd700;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.subscription-tier.superstar::before {
    content: '👑 SUPERSTAR';
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(45deg, #ffd700, #ffa502);
    color: #2d1b69;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 15px;
    z-index: 2;
}

.subscription-tier.superstar h5 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    font-size: 1.4rem;
    font-weight: bold;
}

.subscription-tier.superstar h5::before {
    content: '⭐';
    margin-right: 8px;
    font-size: 1.2em;
}

.subscription-tier.superstar .tier-price .price,
.subscription-tier.superstar .tier-price .currency {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.subscription-tier.superstar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: superstarShine 3s ease-in-out infinite;
    z-index: 1;
}

/* Animations */
@keyframes starTwinkle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes superstarShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pi Wallet Connection Styles */
.pi-balance-card {
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%);
    color: var(--pi-purple);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.pi-balance {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.wallet-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--pi-gold);
}

#connected-wallet-address {
    color: var(--pi-purple);
    font-weight: 500;
    word-break: break-all;
}

/* Pi Wallet Status Animations */
.pi-wallet-connecting {
    animation: piPulse 2s ease-in-out infinite;
}

@keyframes piPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pi-wallet-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.pi-wallet-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

/* Connection Status Indicators */
.connection-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.connection-indicator.connected {
    background: #28a745;
    animation: connectionPulse 2s ease-in-out infinite;
}

.connection-indicator.disconnected {
    background: #dc3545;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tier-currency {
    font-size: 1rem;
    color: var(--secondary-color);
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tier-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.currency-selector {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.currency-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.currency-option:hover {
    background: white;
    border-color: var(--primary-color);
}

.currency-option.selected {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.currency-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.crypto-icon {
    background: linear-gradient(135deg, #f7931e 0%, #f7931e 100%);
    color: white;
}

.fiat-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

/* Pi Coin Logo Styles */
.pi-coin-logo {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 0.5rem;
}

.pi-coin {
    width: 35px;
    height: 35px;
    position: relative;
    margin-right: 8px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.pi-coin:hover {
    transform: rotateY(180deg);
}

.coin-front,
.coin-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--pi-gold);
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    border: 2px solid var(--pi-gold);
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
    backface-visibility: hidden;
}

.coin-back {
    transform: rotateY(180deg);
}

.pi-text {
    font-size: 14px;
    font-family: 'Times New Roman', serif;
}

.pi-symbol {
    font-size: 16px;
    font-family: 'Times New Roman', serif;
}

.live-stream-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 8px;
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%);
    color: var(--pi-purple);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 2px solid var(--pi-purple);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.live-stream-trigger:hover {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    color: var(--pi-gold);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.live-stream-trigger:active {
    transform: scale(0.95);
}

.mini-pi-coin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    border: 1px solid var(--pi-gold);
    color: var(--pi-gold);
    font-size: 12px;
    font-weight: bold;
}

.pi-brand {
    color: var(--pi-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.pi-gradient {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%) !important;
}

/* Pi Exchange Rate Styles */
.pi-exchange-rate {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid var(--pi-gold);
    border-radius: 12px;
    padding: 1rem;
}

.exchange-rates span {
    font-weight: bold;
    color: var(--pi-purple);
}

.pi-converter {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--pi-purple);
}

/* Creator Studio Styles */
.video-creation-area {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/16;
    max-height: 500px;
    margin: 0 auto;
}

.video-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.btn-record {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-record:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.btn-record.recording {
    background: rgba(220, 53, 69, 0.8);
    animation: pulse-record 1.5s infinite;
}

.record-icon {
    font-size: 24px;
    color: #dc3545;
}

.btn-record.recording .record-icon {
    color: white;
}

@keyframes pulse-record {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.recording-timer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.upload-area {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-dropzone {
    text-align: center;
    padding: 3rem;
    border: 3px dashed #6c757d;
    border-radius: 12px;
    background: rgba(108, 117, 125, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--pi-purple);
    background: rgba(111, 66, 193, 0.1);
}

/* Platform Options */
.platform-check {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.platform-check:hover {
    background: #f8f9fa;
    border-color: var(--pi-purple);
}

.platform-check input:checked ~ .platform-label {
    color: var(--pi-purple);
}

.platform-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    width: 100%;
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.tiktok-icon { background: linear-gradient(135deg, #000 0%, #ff0050 100%); }
.instagram-icon { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.youtube-icon { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
.snapchat-icon { background: linear-gradient(135deg, #fffc00 0%, #fffc00 100%); color: #000 !important; }

.platform-info {
    flex: 1;
}

/* Video Editor Styles */
.editor-timeline {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.timeline-container {
    position: relative;
}

.timeline-track {
    height: 60px;
    background: linear-gradient(90deg, 
        var(--pi-purple) 0%, 
        var(--pi-dark-purple) 50%, 
        var(--pi-purple) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.timeline-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--pi-gold);
    transition: left 0.1s ease;
    z-index: 2;
}

.timeline-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Recent Videos */
.recent-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
}

.recent-video-item {
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.recent-video-item:hover {
    transform: scale(1.05);
}

.recent-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
}

/* Pi Earning Notification */
.pi-earning-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    color: var(--pi-gold);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--pi-gold);
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.4);
    animation: slideInRight 0.5s ease-out;
    transition: opacity 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Enhanced Pi Branding */
.pi-brand-text {
    color: var(--pi-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: bold;
    font-family: 'Times New Roman', serif;
}

.streaming-arrow, .streaming-arrow-hero {
    background: linear-gradient(45deg, var(--pi-gold) 0%, var(--pi-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 8px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)) drop-shadow(0 0 3px rgba(111, 66, 193, 0.3));
}

.streaming-arrow-hero {
    font-size: 1.2em;
    animation: streamingArrow 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes streamingArrow {
    0%, 100% { 
        transform: translateX(0px);
        opacity: 1;
    }
    50% { 
        transform: translateX(5px);
        opacity: 0.8;
    }
}

/* Clickable Pi Coin */
.clickable-coin {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 2px;
}

.clickable-coin:hover {
    background: linear-gradient(45deg, var(--pi-gold), var(--pi-purple));
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

.clickable-coin:active {
    transform: scale(0.95);
}

/* Brand Text Enhancements */
.brand-text {
    font-size: 1.5rem;
    margin-left: 10px;
}

.stream-text {
    color: var(--pi-purple) !important;
    text-shadow: 0 0 8px rgba(111, 66, 193, 0.5);
    font-weight: bold;
}

/* Pi Button Styles */
.btn-pi {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    border: 2px solid var(--pi-gold);
    color: var(--pi-gold);
    font-weight: bold;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-pi:hover {
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%);
    color: var(--pi-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-shadow: none;
}

.btn-pi-share {
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%);
    border: 1px solid var(--pi-purple);
    color: var(--pi-purple);
    font-weight: bold;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-pi-share:hover {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    color: var(--pi-gold);
    transform: scale(1.05);
}

/* P2P Sharing Modal Styles */
.pi-share-amount h3 {
    color: var(--pi-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.qr-code-display {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#qr-canvas {
    border-radius: 5px;
}

/* Token Grid Styles */
.streaming-token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.token-option {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.token-option:hover {
    background: linear-gradient(135deg, var(--pi-light-gold) 0%, var(--pi-gold) 100%);
    border-color: var(--pi-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.token-option.active {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    border-color: var(--pi-gold);
    color: var(--pi-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.token-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.token-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.token-rate {
    font-size: 12px;
    opacity: 0.8;
}

.token-option.active .token-rate {
    opacity: 1;
    font-weight: bold;
}

/* Pi Balance Display Enhancement */
.pi-display-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pi-coin-large {
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pi-coin-large:hover {
    transform: scale(1.1) rotateY(180deg);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.pi-balance-info {
    flex: 1;
}

.pi-balance {
    color: var(--pi-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.pi-usd-value {
    color: #6c757d;
    margin: 5px 0;
    font-size: 1.1rem;
}

/* Content Policy and Age Verification Styles */
.policy-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.policy-content h6 {
    color: var(--pi-purple);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-content h6:first-child {
    margin-top: 0;
}

.verification-methods {
    margin: 20px 0;
}

.method-option {
    margin: 15px 0;
    position: relative;
}

.method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.method-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.method-option input[type="radio"]:checked + .method-label {
    border-color: var(--pi-purple);
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    box-shadow: 0 0 15px rgba(111, 66, 193, 0.2);
}

.method-label:hover {
    border-color: var(--pi-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(111, 66, 193, 0.05) 100%);
}

.method-label i {
    color: var(--pi-purple);
    font-size: 24px;
    margin-right: 15px;
}

.method-option input[type="radio"]:checked + .method-label i {
    color: var(--pi-gold);
}

.privacy-notice {
    background: rgba(111, 66, 193, 0.05);
    border: 1px solid rgba(111, 66, 193, 0.2);
    border-radius: 8px;
    padding: 15px;
}

/* Stream Setup Modal Styles */
.warning-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.warning-checkboxes .form-check {
    margin: 0;
}

.adult-option {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #dc3545;
    font-weight: bold;
}

.content-rating-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}

.rating-general {
    background: #28a745;
    color: white;
}

.rating-teen {
    background: #ffc107;
    color: #212529;
}

.rating-mature {
    background: #fd7e14;
    color: white;
}

.rating-explicit {
    background: #dc3545;
    color: white;
}

/* Content Warning Indicators */
.content-warnings {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.warning-tag {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Compliance Status Indicators */
.compliance-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-verified {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

.status-pending {
    background: #ffc107;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.status-required {
    background: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Regional Compliance Notice */
.regional-notice {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(111, 66, 193, 0.1) 100%);
    border: 1px solid rgba(23, 162, 184, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.regional-notice .flag-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

/* Content Moderation Tools */
.moderation-tools {
    background: rgba(108, 117, 125, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.report-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.report-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Discrete Adult Content Area */
.adult-content-gateway {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2e 100%);
    border: 2px solid var(--pi-purple);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.adult-content-gateway::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(111, 66, 193, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.adult-content-gateway .content {
    position: relative;
    z-index: 1;
}

.adult-content-gateway h3 {
    color: var(--pi-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}

.adult-content-gateway p {
    color: #ccc;
    margin-bottom: 25px;
}

.age-gate-button {
    background: linear-gradient(135deg, var(--pi-purple) 0%, var(--pi-dark-purple) 100%);
    border: 2px solid var(--pi-gold);
    color: var(--pi-gold);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.age-gate-button:hover {
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%);
    color: var(--pi-purple);
    transform: scale(1.05);
    text-decoration: none;
}

/* Enhanced Modal Styling */
.modal-content {
    border: 2px solid rgba(111, 66, 193, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-bottom: 1px solid rgba(111, 66, 193, 0.2);
}

.modal-title {
    color: var(--pi-purple);
    font-weight: bold;
}

.modal-title i {
    color: var(--pi-gold);
    margin-right: 8px;
}

/* VR Hub Styles */
.vr-status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.vr-status-card .card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vr-quick-actions .btn-pi {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border: none;
    color: #333;
    font-weight: bold;
}

.vr-platform-badges .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.vr-device-status {
    padding: 1rem 0;
}

.vr-capabilities {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.capability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.capability-label {
    font-weight: 500;
}

.capability-value {
    font-weight: bold;
}

.vr-stream-type {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.vr-stream-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--pi-gold);
}

.vr-stream-type.selected {
    border-color: var(--pi-gold);
    background: linear-gradient(145deg, #fff8dc, #ffd700);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.vr-type-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-features-list {
    text-align: left;
    font-size: 0.85rem;
    color: #666;
}

.vr-metric {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.vr-metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--pi-purple);
    margin-bottom: 0.5rem;
}

.vr-metric-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vr-setting-item {
    padding: 0.5rem 0;
}

#ipd-range {
    background: linear-gradient(to right, #667eea, #764ba2);
}

/* Environment Showcase */
.environment-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.environment-card {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.environment-card:hover {
    transform: translateY(-5px);
    border-color: var(--pi-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.environment-card.active {
    border-color: var(--pi-gold);
    background: linear-gradient(145deg, #fff8dc, #ffd700);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.environment-preview {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.environment-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
}

.environment-card h6 {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.environment-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* VR Stream Type Animations */
@keyframes vrGlow {
    0% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8); }
    100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
}

.vr-stream-type.selected {
    animation: vrGlow 2s ease-in-out infinite;
}

/* VR Performance Chart Enhancements */
#vr-performance-chart {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 10px;
}

/* VR Feature Checkboxes */
.vr-features-checkboxes .form-check-label {
    font-weight: 500;
    color: #495057;
}

.vr-features-checkboxes .form-check-input:checked {
    background-color: var(--pi-gold);
    border-color: var(--pi-gold);
}

/* VR Warning for Motion Sickness */
.warning-checkboxes .form-check-input[value="motion_sickness"]:checked + label {
    color: #e74c3c;
    font-weight: bold;
}

/* VR Compatibility Notice */
#vrCompatibilityNotice .alert {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
}

/* Mobile VR Adaptations */
@media (max-width: 768px) {
    .environment-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vr-metric {
        padding: 0.5rem;
    }
    
    .vr-metric-value {
        font-size: 1.5rem;
    }
    
    .vr-type-icon {
        height: 60px;
    }
    
    .vr-type-icon i {
        font-size: 2rem !important;
    }
}

/* Enhanced Start Streaming Button */
#go-live-btn {
    background: linear-gradient(135deg, var(--pi-gold) 0%, var(--pi-light-gold) 100%) !important;
    border: none !important;
    color: var(--pi-purple) !important;
    font-weight: bold !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

#go-live-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 66, 193, 0.3), transparent);
    transition: left 0.6s ease;
}

#go-live-btn:hover::before {
    left: 100%;
}

#go-live-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
    background: linear-gradient(135deg, var(--pi-light-gold) 0%, var(--pi-gold) 100%) !important;
}

#go-live-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4) !important;
}

#go-live-btn .fas {
    color: var(--pi-purple) !important;
    margin-right: 8px;
}

/* Live streaming button animation */
@keyframes streamGlow {
    0% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(255, 215, 0, 0.7); }
    100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
}

#go-live-btn.streaming {
    animation: streamGlow 2s ease-in-out infinite;
    background: linear-gradient(135deg, #ff4757, #ff3742) !important;
    color: white !important;
}

#go-live-btn.streaming .fas {
    color: white !important;
}
