/* Reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #eef3f7;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #1a1a2e;
    color: white;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-powered {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 10px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.header-powered a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
}

.header-powered a:hover {
    color: #c4b5fd;
    background: transparent;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #a0a0b0;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #888;
}

.footer-links-section {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #6366f1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.powered-by {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.powered-by a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.powered-by a:hover {
    color: #8b5cf6;
}

/* Home Page */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    text-align: center;
}

.create-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input {
    width: 360px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.startBtn {
    background: #ff2c2c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.startBtn:hover {
    background: #e02020;
}

.error-message {
    background: #fee;
    color: #c00;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Color Options */
.color-options {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 360px;
}

.color-options h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.color-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.color-row label {
    font-size: 13px;
    color: #555;
}

.color-row input[type="color"] {
    width: 36px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.color-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.label-row {
    margin-bottom: 10px;
}

.label-row input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

/* Live Page */
.live-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 60px 20px;
}

.live-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
}

.live-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 60px 0;
    text-align: center;
}

.iconGrid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.iconCard {
    text-align: center;
    min-width: 100px;
}

.iconCard strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.iconCard span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #555;
}

.icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

/* About Page */
.about-page {
    flex: 1;
    padding: 60px 20px;
    background: #f8f9fa;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-container h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 30px 0;
    text-align: center;
}

.about-section {
    margin-bottom: 35px;
}

.about-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #6366f1;
    display: inline-block;
}

.about-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

.about-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px 0;
}

.about-section ul {
    margin: 10px 0;
    padding-left: 25px;
}

.about-section li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.about-section a {
    color: #6366f1;
    text-decoration: none;
}

.about-section a:hover {
    text-decoration: underline;
}

.thanks-message {
    text-align: center;
    font-size: 16px;
    color: #333;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .iconGrid {
        gap: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        padding: 40px 20px 20px;
    }
    
    .footer-links-section {
        gap: 40px;
    }
    
    .about-container {
        padding: 30px 20px;
    }
    
    .input, .color-options {
        width: 100%;
        max-width: 360px;
    }
}
