/*
 Theme Name: VidMate Theme
 Theme URI: https://vidmateapp.click
 Author: VidMate Team
 Author URI: https://vidmateapp.click
 Description: A custom WordPress theme for VidMate APK, designed for free video and music downloads with a modern, responsive layout.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-theme, video-downloader, responsive
 Text Domain: vidmate-theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1C2526;
    color: #FFFFFF;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    background: linear-gradient(45deg, #FF007A, #FF0000);
    padding: 80px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

header p {
    font-size: 1.2em;
    color: #D3D3D3;
    margin-bottom: 25px;
}

.cta-button {
    background: #FFFFFF;
    color: #1C2526;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
}

.cta-button:hover {
    box-shadow: 0 0 15px #FFFFFF;
    transform: scale(1.05);
}

nav {
    background: #2A3439;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #D3D3D3;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
}

nav a:hover {
    color: #39FF14;
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #00A3E0;
    text-align: center;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: bold;
}

p {
    font-size: 1.1em;
    color: #D3D3D3;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.feature h3, .feature p {
    font-weight: bold;
    color: #FFFFFF;
}

/* Colorful backgrounds for each feature box */
.feature:nth-child(1) { background: #00A3E0; } /* Blue */
.feature:nth-child(2) { background: #39FF14; } /* Neon Green */
.feature:nth-child(3) { background: #FF007A; } /* Pink */
.feature:nth-child(4) { background: #26A69A; } /* Teal */
.feature:nth-child(5) { background: #7B2CBF; } /* Purple */
.feature:nth-child(6) { background: #FF5722; } /* Orange */
.feature:nth-child(7) { background: #2196F3; } /* Light Blue */
.feature:nth-child(8) { background: #E91E63; } /* Magenta */

#download {
    background: linear-gradient(45deg, #2A3439, #1C2526);
    text-align: center;
    padding: 80px 20px;
}

#download .cta-button {
    margin-top: 20px;
    font-size: 1.3em;
}

#download .cta-button:hover {
    box-shadow: 0 0 15px #FFFFFF;
}

.faq {
    margin-bottom: 30px;
}

footer {
    background: #2A3439;
    text-align: center;
    padding: 30px 20px;
    color: #D3D3D3;
}

footer a {
    color: #00A3E0;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1em;
}

footer a:hover {
    color: #39FF14;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 20px auto;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #D3D3D3;
    color: #1C2526;
    font-size: 1em;
}

.contact-form button {
    background: #00A3E0;
    color: #FFFFFF;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #39FF14;
    color: #1C2526;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    nav a {
        font-size: 0.9em;
        margin: 0 10px;
    }

    h2 {
        font-size: 1.8em;
    }

    .feature {
        transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    }

    .feature:hover {
        transform: perspective(800px) rotateX(3deg) rotateY(3deg) scale(1.03);
    }

    footer a {
        display: inline-block;
        margin: 5px 10px;
    }
}