/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Header styles */
.header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
    line-height: 1.2;
    word-wrap: break-word;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(123, 47, 247, 0.5)); }
}

.description {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 300;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto;
}

/* Main container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    min-width: 0; /* Prevent grid items from overflowing */
}

/* Control panel */
.control-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-width: 0; /* Prevent overflow */
    overflow: hidden; /* Prevent content from spilling out */
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-title i {
    font-size: 1.2rem;
}

.control-group {
    margin-bottom: 2rem;
}

.control-group:last-child {
    margin-bottom: 0;
}

label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #b0b0b0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

label i {
    font-size: 1rem;
    color: #00d4ff;
    width: 20px;
    text-align: center;
}

.waveform-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.waveform-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.waveform-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.waveform-select optgroup {
    background: rgba(20, 20, 30, 0.95);
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.25rem;
}

.waveform-select option {
    background: rgba(30, 30, 40, 0.95);
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.waveform-select option:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 0.5rem 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.5);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.5);
}

.play-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}

.play-button:active {
    transform: translateY(0);
}

.play-button.playing {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    box-shadow: 0 4px 16px rgba(255, 68, 68, 0.3);
}

.play-button.playing:hover {
    box-shadow: 0 6px 24px rgba(255, 68, 68, 0.4);
}

/* Visualization panel */
.visualization-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
    min-width: 0; /* Prevent overflow */
}

.canvas-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-width: 0; /* Prevent overflow */
    overflow: hidden; /* Prevent content from spilling out */
}

.canvas-title {
    margin-bottom: 1.5rem;
    color: #00d4ff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.canvas-title i {
    font-size: 0.9rem;
}

.canvas {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block; /* Remove any inline spacing */
    max-width: 100%; /* Ensure it doesn't overflow */
}

/* CRT Effect for Waveform Canvas */
#crt-canvas {
    position: relative;
    border-radius: 12px;
    background: #0a0a0a;
    border: 3px solid #1a1a1a;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 255, 0, 0.1);
    overflow: hidden;
}

#crt-canvas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

#crt-canvas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 2;
}

#crt-canvas canvas {
    position: relative;
    z-index: 0;
    filter: 
        contrast(1.2) 
        brightness(1.1)
        blur(0.3px);
}

#crt-canvas.flicker {
    animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.97; }
    50% { opacity: 1; }
    100% { opacity: 0.98; }
}

/* Responsive design */
@media (min-width: 1024px) {
    .visualization-panel {
        grid-template-columns: 1fr 1fr;
    }
    
    .canvas {
        height: 320px;
    }
}

@media (min-width: 1200px) {
    .main-container {
        max-width: 1600px;
        gap: 4rem;
    }
    
    .canvas {
        height: 350px;
    }
}

/* Mobile optimizations */
@media (max-width: 1023px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .control-panel {
        padding: 1.5rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .panel-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .canvas-container {
        padding: 1.5rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .canvas {
        height: 240px;
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile phone optimizations */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .header {
        padding: 1.5rem 1rem;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    .description {
        font-size: 1rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .main-container {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }
    
    .control-panel {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .panel-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .control-group {
        margin-bottom: 1.25rem;
    }
    
    label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .waveform-select {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .slider {
        height: 6px;
        margin: 0.75rem 0;
    }
    
    .slider::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }
    
    .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }
    
    .play-button {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
        margin-top: 0.75rem;
    }
    
    .canvas-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .canvas-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .canvas {
        height: 200px;
        border-radius: 8px;
    }
    
    /* Touch-friendly controls */
    .waveform-select,
    .play-button {
        min-height: 44px; /* iOS touch target minimum */
    }
    
    /* Better spacing for touch */
    .control-group {
        padding-bottom: 0.5rem;
    }
    
    /* About section mobile adjustments */
    .about {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 16px;
    }
    
    .about h2 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .about p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    /* Footer mobile adjustments */
    .footer {
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.3rem;
        justify-content: center;
    }
    
    .footer-heading {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-list {
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-list li {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom-content {
        padding: 1rem 1rem;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .copyright,
    .made-by {
        font-size: 0.8rem;
        justify-content: center;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .header {
        padding: 1rem 0.75rem;
    }
    
    .title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .description {
        font-size: 0.9rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    .main-container {
        padding: 0.75rem 0.5rem;
    }
    
    .control-panel {
        padding: 1rem;
    }
    
    .panel-title {
        font-size: 1.1rem;
    }
    
    .canvas-container {
        padding: 0.75rem;
    }
    
    .canvas {
        height: 160px;
    }
    
    /* Compact controls */
    .waveform-select {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .play-button {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    /* Smaller icons on mobile */
    .panel-title i,
    .canvas-title i,
    label i {
        font-size: 0.8rem;
    }
    
    /* About section small mobile adjustments */
    .about {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .about h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .about p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0;
    }
    
    /* Footer small mobile adjustments */
    .footer {
        margin-top: 1.5rem;
    }
    
    .footer-content {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-list li {
        font-size: 0.8rem;
    }
    
    .footer-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .footer-bottom-content {
        padding: 0.75rem 0.75rem;
    }
    
    .copyright,
    .made-by {
        font-size: 0.75rem;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1rem 0.75rem;
    }
    
    .title {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .description {
        font-size: 0.85rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .main-container {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }
    
    .control-panel {
        padding: 1rem;
    }
    
    .canvas {
        height: 140px;
    }
    
    /* Side-by-side layout in landscape */
    .visualization-panel {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    /* Footer landscape adjustments */
    .footer {
        margin-top: 1rem;
    }
    
    .footer-content {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-heading {
        font-size: 0.85rem;
    }
    
    .footer-list li {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-bottom-content {
        padding: 0.5rem 0.75rem;
    }
    
    .copyright,
    .made-by {
        font-size: 0.7rem;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1023px) {
    .header {
        padding: 1.75rem 1.25rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .main-container {
        padding: 1.75rem 1.25rem;
        gap: 2rem;
    }
    
    .control-panel {
        padding: 1.75rem;
    }
    
    .canvas {
        height: 220px;
    }
    
    /* Optional: Side-by-side on tablets */
    .visualization-panel {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* About section tablet adjustments */
    .about {
        padding: 2.5rem 2rem;
        margin: 2rem 0;
        border-radius: 18px;
    }
    
    .about h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about p {
        font-size: 1.05rem;
        line-height: 1.55;
    }
    
    /* Footer tablet adjustments */
    .footer {
        margin-top: 3rem;
    }
    
    .footer-content {
        padding: 2.5rem 1.25rem;
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .footer-list li {
        font-size: 0.85rem;
    }
    
    .footer-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .footer-bottom-content {
        padding: 1.25rem 1.25rem;
    }
    
    .copyright,
    .made-by {
        font-size: 0.85rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus-visible,
select:focus-visible,
input:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Audio File Input Styles */
.audio-file-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-file-input:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.audio-file-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.audio-file-input::file-selector-button {
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.audio-file-input::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.audio-file-info {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.audio-file-info.success {
    background: rgba(0, 255, 100, 0.1);
    border-color: rgba(0, 255, 100, 0.3);
    color: #00ff64;
}

.audio-file-info.error {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

/* Audio Playback Controls */
.audio-controls {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-time-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00d4ff;
    font-weight: 600;
}

.time-separator {
    color: #a0a0a0;
    font-weight: 400;
}

.audio-progress-container {
    margin-bottom: 1rem;
}

.audio-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.audio-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.audio-progress::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.5);
}

.audio-progress::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.audio-progress::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.5);
}

.audio-playback-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.audio-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.audio-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}

.audio-control-btn:active {
    transform: translateY(0);
}

.audio-control-btn.playing {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    box-shadow: 0 4px 16px rgba(255, 68, 68, 0.3);
}

.audio-control-btn.playing:hover {
    box-shadow: 0 6px 24px rgba(255, 68, 68, 0.4);
}

/* Value display styling */
#frequency-value,
#gain-value {
    color: #00d4ff;
    font-weight: 600;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-title i {
    font-size: 1.2rem;
}

.footer-description {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li {
    color: #b0b0b0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease;
}

.footer-list li:hover {
    color: #00d4ff;
}

.footer-list li i {
    width: 16px;
    text-align: center;
    color: #00d4ff;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright,
.made-by {
    color: #808080;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.made-by a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.made-by a:hover {
    color: #7b2ff7;
}

.made-by .fa-heart {
    color: #ff4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}
