/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Alice&family=Dancing+Script&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alice', serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #0a0a0a;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 30%, rgba(255,255,255,0.15) 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.2) 2px, transparent 2px),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 200px 200px;
}

.paper {
    max-width: 800px;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    padding: 30px 20px;
    border-radius: 20px;
}

/* Header */
header {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff69b4;
    text-align: center;
}

header h1 {
    color: #ff69b4;
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-family: 'Alice', serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(255,105,180,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.more-text {
    color: #00ff00;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

/* Email */
.email-header {
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 25px;
    font-family: 'Alice', serif;
    font-weight: normal;
    text-align: center;
    width: 100%;
}

.email-header a {
    color: #ff69b4;
    text-decoration: none;
    border-bottom: 1px dotted #ff69b4;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.email-header a:hover {
    text-shadow: 0 0 8px #ff69b4;
    border-bottom-style: solid;
}

/* Contact button */
.contact-button {
    display: inline-block;
    color: #ff69b4;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Alice', serif;
    border: 3px solid #00ff00;
    border-radius: 30px 10px 30px 10px;
    padding: 12px 30px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    background-color: transparent;
    box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00;
    width: fit-content;
    text-align: center;
}

.contact-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #00ff00, 0 0 50px #00ff00;
    background-color: rgba(255,255,255,0.05);
}

/* Homepage grid */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0 40px;
}

.home-grid.two-buttons {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.home-button {
    background: transparent;
    padding: 25px 15px;
    text-decoration: none;
    font-family: 'Alice', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: bold;
    color: #ff69b4;
    text-align: center;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #00ff00;
    outline: 4px solid #00ff00;
    outline-offset: 4px;
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00;
}

.home-button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px #00ff00, 0 0 50px #00ff00;
}

/* Cover box */
.cover-box {
    border: 3px solid #ff69b4;
    border-radius: 30px 10px 30px 10px;
    padding: 30px;
    margin: 20px 0 30px;
    text-align: left;
    color: white;
    box-shadow: 0 0 20px #ff69b4, 0 0 40px rgba(255,105,180,0.5);
    background-color: #000000;
    transition: box-shadow 0.3s ease;
}

.cover-box:hover {
    box-shadow: 0 0 30px #ff69b4, 0 0 60px rgba(255,105,180,0.7);
}

.greeting {
    color: #ff69b4;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.letter-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    white-space: pre-line;
}

.signature-area {
    margin-top: 40px;
}

.signature-area p {
    margin-bottom: 5px;
}

.signature-image {
    max-width: 200px;      /* Adjust as needed */
    height: auto;
    margin-top: 10px;
    display: block;
}

.name {
    color: #ff69b4;
    font-size: 1.3rem;
    font-weight: bold;
}

.signature-line {
    color: #888;
    font-style: italic;
    border-top: 2px solid #ff69b4;
    padding-top: 10px;
    margin-top: 10px;
    width: 250px;
}

/* Supporting docs */
.support-title {
    color: #ff69b4;
    font-size: 2rem;
    margin: 40px 0 20px;
    font-family: 'Alice', serif;
    text-align: center;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.support-btn {
    background: transparent;
    padding: 15px 10px;
    text-decoration: none;
    font-family: 'Alice', serif;
    font-size: 1.1rem;
    color: #ff69b4;
    border: 3px solid #00ff00;
    border-radius: 30px 10px 30px 10px;
    text-align: center;
    transition: all 0.3s;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-btn:hover {
    transform: scale(1.03);
    background: rgba(255,255,255,0.05);
}

/* Navigation */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.nav-btn {
    color: #ff69b4;
    text-decoration: none;
    font-size: 1.2rem;
    border: 2px solid #00ff00;
    padding: 12px 25px;
    border-radius: 30px 10px 30px 10px;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,0.3);
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,105,180,0.5);
    background-color: rgba(255,255,255,0.05);
}

/* Thank you */
.thank-you {
    color: #ff69b4;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin: 20px 0 10px;
}

/* Contacts page */
.contacts-page header {
    text-align: center;
}
.contacts-page h1,
.contacts-page .email-header {
    text-align: center;
    width: 100%;
}

/* Hide unused */
.back-link {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }
    .home-button {
        min-height: 100px;
        padding: 15px;
    }
    .cover-box {
        padding: 20px;
    }
}
@media (max-width: 400px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    .home-grid {
        gap: 12px;
    }
    .signature-line {
        width: 180px;
    }
}