/* Roblox Font Generator Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}
.header {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 30px;
    text-align: center;
}
.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.header p {
    font-size: 1.2em;
    opacity: 0.9;
}
.main-content {
    padding: 40px;
}
.input-section {
    margin-bottom: 40px;
}
.input-section label {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.text-input {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: 3px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}
.text-input:focus {
    border-color: #4ecdc4;
}
.fonts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.font-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.font-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.font-category {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.font-preview {
    font-size: 1.5em;
    margin: 15px 0;
    padding: 10px;
    background: white;
    border-radius: 5px;
    word-break: break-all;
    min-height: 60px;
    display: flex;
    align-items: center;
}
.copy-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}
.copy-btn:hover {
    transform: scale(1.05);
}
.copy-btn:active {
    transform: scale(0.95);
}
.tutorial-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}
.tutorial-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
}
.tutorial-steps {
    list-style: none;
    counter-reset: step-counter;
}
.tutorial-steps li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}
.tutorial-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #4ecdc4;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}
.footer {
    background: #333;
    color: white;
    padding: 30px;
    text-align: center;
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4ecdc4;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1000;
}
.notification.show {
    transform: translateX(0);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    .main-content {
        padding: 20px;
    }
    .fonts-grid {
        grid-template-columns: 1fr;
    }
}
nav {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
nav a:hover {
    background: #555 !important;
    text-decoration: none;
}

/* Additional styles for new components */
.font-selector-section {
    margin-bottom: 30px;
}

.font-selector {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: 3px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
    background: white;
}

.font-selector:focus {
    border-color: #4ecdc4;
}

.preview-section {
    margin-bottom: 30px;
}

.preview-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.download-section {
    margin-bottom: 30px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.download-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.download-item p {
    color: #666;
    margin-bottom: 15px;
}

.download-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.guide-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4ecdc4;
}

.guide-section h2 {
    color: #333;
    margin-bottom: 15px;
}

.guide-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.guide-section ul {
    margin-left: 20px;
}

.guide-section li {
    margin-bottom: 10px;
    color: #666;
}

.guide-section a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: bold;
}

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

.generate-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    margin: 10px 0;
}

.generate-btn:hover {
    transform: translateY(-2px);
}

.action-section {
    text-align: center;
    margin: 20px 0;
}

.output-section {
    margin-top: 30px;
}

.output-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.output-text {
    font-size: 1.8em;
    margin: 15px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    word-break: break-all;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
